Skip to content

Commit c049e95

Browse files
committed
Add bare linker tests for Windows
1 parent 275d7d1 commit c049e95

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

  • cargo-auditable/tests/fixtures/bare_linker/.cargo

cargo-auditable/tests/fixtures/bare_linker/.cargo/config.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,15 @@ rustflags = ["-C", "target-feature=+crt-static"]
3232
linker = "rust-lld"
3333
rustflags = ["-C", "target-feature=+crt-static"]
3434

35+
# === Not included in the original Rayhunter example ===
36+
37+
# this tests for https://github.com/rust-lang/rust/issues/96498
38+
[target.i686-pc-windows-msvc]
39+
linker = "rust-lld"
40+
41+
# this Just Works so we might as well see if it keeps working
42+
[target.x86_64-pc-windows-msvc]
43+
linker = "rust-lld"
44+
45+
# GNU targets generally don't work with bare linkers; not even rayhunter uses it there.
46+
# So we're not testing windows-gnu or linux-gnu

0 commit comments

Comments
 (0)