We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 814451a commit 5513fb7Copy full SHA for 5513fb7
src/bootstrap/src/core/builder/cargo.rs
@@ -270,6 +270,12 @@ impl Cargo {
270
self.rustflags.arg("-Clink-arg=-gz");
271
}
272
273
+ // Ignore linker warnings for now. These are complicated to fix and don't affect the build.
274
+ // cfg(bootstrap)
275
+ if compiler.stage != 0 {
276
+ self.rustflags.arg("-Alinker-messages");
277
+ }
278
+
279
// Throughout the build Cargo can execute a number of build scripts
280
// compiling C/C++ code and we need to pass compilers, archivers, flags, etc
281
// obtained previously to those build scripts.
0 commit comments