Skip to content

Commit 0cade8a

Browse files
Auto merge of #146594 - Gelbpunkt:bootstrap-musl-static, r=<try>
bootstrap: Don't force -static for musl targets in cc-rs try-job: dist-i586-gnu-i586-i686-musl
2 parents 9f32ccf + 3847786 commit 0cade8a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎src/bootstrap/src/utils/cc_detect.rs‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ fn new_cc_build(build: &Build, target: TargetSelection) -> cc::Build {
4848
if target.is_msvc() {
4949
cfg.static_crt(true);
5050
}
51-
if target.contains("musl") {
52-
cfg.static_flag(true);
53-
}
5451
}
5552
}
5653
cfg

0 commit comments

Comments
 (0)