Skip to content

Commit

Permalink
Set crt_static_default = false for musl/mips[el] targets
Browse files Browse the repository at this point in the history
  • Loading branch information
malbarbo committed Jan 23, 2018
1 parent 68db72d commit 61fdf8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_back/target/mips_unknown_linux_musl.rs
Expand Up @@ -18,6 +18,7 @@ pub fn target() -> TargetResult {
base.max_atomic_width = Some(32);
// see #36994
base.exe_allocation_crate = None;
base.crt_static_default = false;
Ok(Target {
llvm_target: "mips-unknown-linux-musl".to_string(),
target_endian: "big".to_string(),
Expand Down
1 change: 1 addition & 0 deletions src/librustc_back/target/mipsel_unknown_linux_musl.rs
Expand Up @@ -18,6 +18,7 @@ pub fn target() -> TargetResult {
base.max_atomic_width = Some(32);
// see #36994
base.exe_allocation_crate = None;
base.crt_static_default = false;
Ok(Target {
llvm_target: "mipsel-unknown-linux-musl".to_string(),
target_endian: "little".to_string(),
Expand Down

0 comments on commit 61fdf8e

Please sign in to comment.