Skip to content

Commit 13963ae

Browse files
Test with lld-compatible args (#627)
Rust on Linux has switched to using rust-lld by default, and it does not support the zlib-gnu or zlib-gabi arguments for --compress-debug-sections! Not surprising. It's... not GNU. Compensate for this by using zlib, which everyone supports.
1 parent 6156427 commit 13963ae

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/main.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,7 @@ jobs:
8080
- run: cargo test
8181
if: contains(matrix.os, 'ubuntu')
8282
env:
83-
RUSTFLAGS: "-C link-arg=-Wl,--compress-debug-sections=zlib-gabi"
84-
- run: cargo test
85-
if: contains(matrix.os, 'ubuntu')
86-
env:
87-
RUSTFLAGS: "-C link-arg=-Wl,--compress-debug-sections=zlib-gnu"
83+
RUSTFLAGS: "-C link-arg=-Wl,--compress-debug-sections=zlib"
8884

8985
# Test that, on macOS, packed/unpacked debuginfo both work
9086
- run: cargo clean && cargo test

0 commit comments

Comments
 (0)