Skip to content

Commit f1654ac

Browse files
committed
update to stable, set lto to thin
1 parent 5b03508 commit f1654ac

File tree

5 files changed

+118
-161
lines changed

5 files changed

+118
-161
lines changed

.github/workflows/precompile.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ jobs:
4545
- name: Install Rust toolchain
4646
uses: dtolnay/rust-toolchain@stable
4747
with:
48-
# TODO: check if a later version works in the future
49-
# https://elixirforum.com/t/rustler-precompiled-segfaults-in-gh-action/71189/10
50-
toolchain: 1.86.0
48+
toolchain: stable
5149
target: ${{ matrix.job.target }}
5250

5351
- name: Build the project

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ defmodule MakeupSyntect.MixProject do
3333
defp deps do
3434
[
3535
{:rustler_precompiled, "~> 0.8.2"},
36-
{:rustler, "~> 0.36.2", runtime: false, optional: true},
36+
{:rustler, "~> 0.37.2", runtime: false, optional: true},
3737
{:makeup, "~> 1.2"},
3838
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
3939
]

native/makeup_syntect/.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ rustflags = [
1111

1212
# Provides a small build size, but takes more time to build.
1313
[profile.release]
14-
lto = true
14+
lto = "thin"

0 commit comments

Comments
 (0)