Skip to content

Commit 61fdf8e

Browse files
committed
Set crt_static_default = false for musl/mips[el] targets
1 parent 68db72d commit 61fdf8e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/librustc_back/target/mips_unknown_linux_musl.rs

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ pub fn target() -> TargetResult {
1818
base.max_atomic_width = Some(32);
1919
// see #36994
2020
base.exe_allocation_crate = None;
21+
base.crt_static_default = false;
2122
Ok(Target {
2223
llvm_target: "mips-unknown-linux-musl".to_string(),
2324
target_endian: "big".to_string(),

src/librustc_back/target/mipsel_unknown_linux_musl.rs

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ pub fn target() -> TargetResult {
1818
base.max_atomic_width = Some(32);
1919
// see #36994
2020
base.exe_allocation_crate = None;
21+
base.crt_static_default = false;
2122
Ok(Target {
2223
llvm_target: "mipsel-unknown-linux-musl".to_string(),
2324
target_endian: "little".to_string(),

0 commit comments

Comments
 (0)