diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-17 15:45:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-17 15:45:21 +0200 |
| commit | 73ea8d7fdcad7e901a61e256b43dc1f8516984ff (patch) | |
| tree | 9353fd4e54b9bce05b65400373ca6131bbb6691c /compiler/rustc_codegen_ssa/src/back | |
| parent | f0b115015a55ea262a2d52d0dc46083714a19273 (diff) | |
| parent | 55ad9cd516709b52899d01b2d7be2c4da2af3f02 (diff) | |
| download | rust-73ea8d7fdcad7e901a61e256b43dc1f8516984ff.tar.gz rust-73ea8d7fdcad7e901a61e256b43dc1f8516984ff.zip | |
Rollup merge of #141035 - lqd:lld-warn, r=Mark-Simulacrum
turn lld warning on old gccs into info log As discussed in #140964 and IRL, this PR switches the spammy warning shown unconditionally when an old gcc doesn't support `-fuse-ld=lld` and we retry linking without it, to an info debug log so we don't lose it. r? `@Mark-Simulacrum` Fixes #140964
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/link.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/link.rs b/compiler/rustc_codegen_ssa/src/back/link.rs index 159c17b0af7..c5792da2678 100644 --- a/compiler/rustc_codegen_ssa/src/back/link.rs +++ b/compiler/rustc_codegen_ssa/src/back/link.rs @@ -768,7 +768,7 @@ fn link_natively( && cmd.get_args().iter().any(|e| e.to_string_lossy() == "-fuse-ld=lld") { info!("linker output: {:?}", out); - warn!("The linker driver does not support `-fuse-ld=lld`. Retrying without it."); + info!("The linker driver does not support `-fuse-ld=lld`. Retrying without it."); for arg in cmd.take_args() { if arg.to_string_lossy() != "-fuse-ld=lld" { cmd.arg(arg); |
