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.
-znostart-stop-gc
1 parent aaa8614 commit 0a8b006Copy full SHA for 0a8b006
compiler/rustc_codegen_ssa/src/back/link.rs
@@ -3338,6 +3338,7 @@ fn add_lld_args(
3338
"add_lld_args requested, flavor: '{:?}', target self-contained components: {:?}",
3339
flavor, self_contained_components,
3340
);
3341
+ cmd.cc_arg("-znostart-stop-gc");
3342
3343
// If the flavor doesn't use a C/C++ compiler to invoke the linker, or doesn't opt in to `lld`,
3344
// we don't need to do anything.
0 commit comments