about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/graph/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-25 22:05:02 +0000
committerbors <bors@rust-lang.org>2025-01-25 22:05:02 +0000
commit6fb03584cf6d915cc5527f45037ca009f4273c4c (patch)
treef6aaa2947f4223e2c2663949df2e3f8ba2670bf6 /compiler/rustc_data_structures/src/graph/mod.rs
parentf7cc13af822fe68c64fec0b05aa9dd1412451f7c (diff)
parentc1b4ab0e7369836aaabd3e3b5ff2d8c11471e81f (diff)
downloadrust-6fb03584cf6d915cc5527f45037ca009f4273c4c.tar.gz
rust-6fb03584cf6d915cc5527f45037ca009f4273c4c.zip
Auto merge of #135707 - jyn514:linker-messages-2, r=bjorn3
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.

r? `@bjorn3`

try-job: aarch64-apple
Diffstat (limited to 'compiler/rustc_data_structures/src/graph/mod.rs')
0 files changed, 0 insertions, 0 deletions