Skip to content

Commit 9b44879

Browse files
committed
Use -znostart-stop-gc for LLD
1 parent aaa8614 commit 9b44879

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+2
-0
lines changed

Diff for: compiler/rustc_codegen_ssa/src/back/link.rs

+2
Original file line numberDiff line numberDiff line change
@@ -3345,6 +3345,8 @@ fn add_lld_args(
33453345
return;
33463346
}
33473347

3348+
cmd.link_arg("-znostart-stop-gc");
3349+
33483350
// 1. Implement the "self-contained" part of this feature by adding rustc distribution
33493351
// directories to the tool's search path, depending on a mix between what users can specify on
33503352
// the CLI, and what the target spec enables (as it can't disable components):

0 commit comments

Comments
 (0)