Commit 3a01dc5 1 parent 0d25b5d commit 3a01dc5 Copy full SHA for 3a01dc5
File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,12 @@ jobs:
62
62
sudo apt install -y libasound2-dev libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev mesa-vulkan-drivers libpango1.0-dev libudev-dev
63
63
64
64
# Needed after: https://github.com/rust-lang/rust/pull/124129
65
- # Based on: https://github.com/dtolnay/linkme/pull/88
66
- - name : Disable rust-lld
67
- if : matrix.rust_version == 'nightly'
68
- run : echo RUSTFLAGS=${RUSTFLAGS}\ -Zlinker-features=-lld >> $GITHUB_ENV
65
+ # See also: https://github.com/dtolnay/linkme/issues/94
66
+ # Additionally: https://lld.llvm.org/ELF/start-stop-gc
67
+ - name : Disable linker start-stop-gc
68
+ # Note: We also use `rust-lld` on Windows, see `config.toml`.
69
+ if : runner.os != 'macOS'
70
+ run : echo RUSTFLAGS=${RUSTFLAGS}\ -Clink-args=-znostart-stop-gc >> $GITHUB_ENV
69
71
70
72
- name : Cache Cargo output
71
73
uses : Swatinem/rust-cache@v2
You can’t perform that action at this time.
0 commit comments