about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/back
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-17 15:45:21 +0200
committerGitHub <noreply@github.com>2025-05-17 15:45:21 +0200
commit73ea8d7fdcad7e901a61e256b43dc1f8516984ff (patch)
tree9353fd4e54b9bce05b65400373ca6131bbb6691c /compiler/rustc_codegen_ssa/src/back
parentf0b115015a55ea262a2d52d0dc46083714a19273 (diff)
parent55ad9cd516709b52899d01b2d7be2c4da2af3f02 (diff)
downloadrust-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.rs2
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);