Waffle Lapkin
1f7efabdc6
turn pointer width into an integer in target.json
2025-08-27 23:44:49 +02:00
Rémy Rakic
2e6d82c9c9
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.
2025-07-08 09:04:21 +00:00
Jakub Beránek
6af96f873a
Add a helper function for checking if LLD was used to run-make-support
2025-04-03 15:40:23 +02:00
jyn
97311a8969
Downgrade linker-warnings to allow-by-default
...
This needs more time to bake before we turn it on. Turning it on early risks people silencing the warning indefinitely, before we have the chance to make it less noisy.
2025-01-26 22:57:20 -05:00
jyn
26708aa941
Don't require --verbose to show linker stdout
2025-01-20 16:46:47 -05:00
jyn
c0822ed9b8
show linker warnings even if it returns 0
2025-01-20 16:46:00 -05:00
Rémy Rakic
141d9dc3a5
remove unused imports from rmake tests
2024-08-10 18:06:10 +00:00
Nicholas Nethercote
84ac80f192
Reformat use declarations.
...
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-07-29 08:26:52 +10:00
Jakub Beránek
0a190e8d2d
Migrate runmake tests away from custom commands and command_output
2024-06-08 19:36:31 +02:00
lcnr
8160974ce8
ignore whitespace in ldd tests
2024-05-30 15:28:03 +02:00
lcnr
aa8f995b89
add info to rust-ldd tests failures
2024-05-30 15:26:49 +02:00
León Orell Valerian Liehr
09aa77299b
Cleanup: Rid the rmake test runners of extern crate run_make_support;
2024-05-02 17:57:23 +02:00
Rémy Rakic
8acfe9a138
add link_arg helper to run_make_support
...
and use it in the `rust-lld` tests
2024-04-15 18:08:55 +00:00
Rémy Rakic
8fa6984e8e
port rust-lld-custom-target test to rmake
...
also make sure that rust-lld can be disabled via linker features, even
when enabled by default by the target spec
2024-04-15 18:01:37 +00:00
Nikita Popov
8eb48b4f4c
Update data layouts in custom target tests for LLVM 18
...
Fixes https://github.com/rust-lang/rust/issues/120492 .
2024-01-31 15:15:59 +01:00
Rémy Rakic
fe7a843278
add end-to-end test of custom target using rust-lld
...
starting from the x86_64-unknown-linux-gnu specs, we add the lld linker
flavor and self-contained linker component
2023-10-18 11:33:40 +00:00