Skip to content

Commit c6065eb

Browse files
committed
Add soon-to-be-default --no-undefined-version flag
1 parent f63ccaf commit c6065eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_codegen_ssa/src/back/linker.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,8 @@ impl<'a> Linker for GccLinker<'a> {
722722
self.linker_arg(arg);
723723
}
724724
}
725+
726+
self.linker_arg("--no-undefined-version");
725727
}
726728

727729
fn subsystem(&mut self, subsystem: &str) {

0 commit comments

Comments
 (0)