rust/compiler/rustc_codegen_ssa/src
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
..
back Shorten linker output even more when --verbose is not present 2025-01-25 16:04:52 -05:00
debuginfo Begin to implement type system layer of unsafe binders 2024-12-22 21:57:57 +00:00
mir Rollup merge of #135648 - folkertdev:naked-asm-wasm, r=bjorn3 2025-01-24 00:15:54 +01:00
traits Rollup merge of #135581 - EnzymeAD:refactor-codgencx, r=oli-obk 2025-01-24 23:25:42 +01:00
assert_module_sources.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
base.rs Auto merge of #119286 - jyn514:linker-output, r=bjorn3 2025-01-25 17:16:33 +00:00
codegen_attrs.rs Rename OptimizeAttr::None to Default 2025-01-24 19:34:01 +00:00
common.rs Test fixing raw-dylib 2024-09-24 10:10:31 -07:00
errors.rs Shorten linker output even more when --verbose is not present 2025-01-25 16:04:52 -05:00
lib.rs make it possible to silence linker warnings with a crate-level attribute 2025-01-20 16:46:00 -05:00
meth.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
mono_item.rs codegen #[naked] functions using global_asm! 2024-12-10 21:41:03 +01:00
size_of_val.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
target_features.rs add dedicated type for ABI target feature constraints 2025-01-05 10:46:30 +01:00