Skip to content

Commit bd61985

Browse files
jackpot51bjorn3
authored andcommitted
Disable crt_static_allows_dylibs in redox targets
1 parent c6d42d7 commit bd61985

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_target/src/spec/base

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/base/redox.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub(crate) fn opts() -> TargetOptions {
1212
has_thread_local: true,
1313
crt_static_default: true,
1414
crt_static_respected: true,
15-
crt_static_allows_dylibs: true,
15+
crt_static_allows_dylibs: false,
1616
late_link_args: TargetOptions::link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-lgcc"]),
1717
..Default::default()
1818
}

0 commit comments

Comments
 (0)