rust/compiler/rustc_codegen_ssa/src/back
jyn c1b4ab0e73 Shorten linker output even more when --verbose is not present
- Don't show environment variables. Seeing PATH is almost never useful, and it can be extremely long.
- For .rlibs in the sysroot, replace crate hashes with a `"-*"` string. This will expand to the full crate name when pasted into the shell.
- Move `.rlib` to outside the glob.
- Abbreviate the sysroot path to `<sysroot>` wherever it appears in the arguments.

This also adds an example of the linker output as a run-make test. Currently it only runs on x86_64-unknown-linux-gnu, because each platform has its own linker arguments. So that it's stable across machines, pass BUILD_ROOT as an argument through compiletest through to run-make tests.

- Only use linker-flavor=gnu-cc if we're actually going to compare the output. It doesn't exist on MacOS.
2025-01-25 16:04:52 -05:00
..
apple Move versioned LLVM target creation to rustc_codegen_ssa 2024-11-01 17:07:18 +01:00
linker Support rpath with -Clinker-flavor=ld 2024-11-24 01:20:29 +01:00
rpath Support rpath with -Clinker-flavor=ld 2024-11-24 01:20:29 +01:00
apple.rs Print env var in --print=deployment-target 2024-11-22 20:46:05 +01:00
archive.rs review fixes: Adjust whitespace 2024-12-29 21:27:19 +01:00
command.rs Shorten linker output even more when --verbose is not present 2025-01-25 16:04:52 -05:00
link.rs Shorten linker output even more when --verbose is not present 2025-01-25 16:04:52 -05:00
linker.rs Auto merge of #133955 - bjorn3:cc_pass_arch_only, r=ChrisDenton 2025-01-04 15:42:31 +00:00
lto.rs Make CodegenCx and Builder generic 2025-01-24 16:05:26 -05:00
metadata.rs aix: fix archive format 2024-11-21 10:33:07 -05:00
mod.rs Move versioned LLVM target creation to rustc_codegen_ssa 2024-11-01 17:07:18 +01:00
rpath.rs Support rpath with -Clinker-flavor=ld 2024-11-24 01:20:29 +01:00
symbol_export.rs rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structures 2024-12-16 19:08:19 +01:00
write.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00