diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2025-07-08 09:01:25 +0000 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2025-07-08 09:04:21 +0000 |
| commit | 2e6d82c9c96348a2f7dafd1a3337287408fc9751 (patch) | |
| tree | 407f868c43b74b5fcdca88329434e8125561934b /tests/run-make/rust-lld-x86_64-unknown-linux-gnu-dist | |
| parent | aa527115432df082f3c9e4d2459acb7bb02ed5a6 (diff) | |
| download | rust-2e6d82c9c96348a2f7dafd1a3337287408fc9751.tar.gz rust-2e6d82c9c96348a2f7dafd1a3337287408fc9751.zip | |
stabilize `-Clinker-features=-lld` on x64 linux
This stabilizes a subset of the `-Clinker-features` components on x64 linux: the lld opt-out. The opt-in is not stabilized, as interactions with other stable flags require more internal work, but are not needed for stabilizing using rust-lld by default. Similarly, since we only switch to rust-lld on x64 linux, the opt-out is only stabilized there. Other targets still require `-Zunstable-options` to use it.
Diffstat (limited to 'tests/run-make/rust-lld-x86_64-unknown-linux-gnu-dist')
| -rw-r--r-- | tests/run-make/rust-lld-x86_64-unknown-linux-gnu-dist/rmake.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-make/rust-lld-x86_64-unknown-linux-gnu-dist/rmake.rs b/tests/run-make/rust-lld-x86_64-unknown-linux-gnu-dist/rmake.rs index c26f82b7d37..c315d36a39d 100644 --- a/tests/run-make/rust-lld-x86_64-unknown-linux-gnu-dist/rmake.rs +++ b/tests/run-make/rust-lld-x86_64-unknown-linux-gnu-dist/rmake.rs @@ -12,5 +12,5 @@ fn main() { assert_rustc_uses_lld(rustc().input("main.rs")); // But it can still be disabled by turning the linker feature off. - assert_rustc_doesnt_use_lld(rustc().arg("-Zlinker-features=-lld").input("main.rs")); + assert_rustc_doesnt_use_lld(rustc().arg("-Clinker-features=-lld").input("main.rs")); } |
