iglunix/pkgs/rust/alpine-crt.patch

12 lines
341 B
Diff
Raw Normal View History

2021-01-30 21:58:39 +00:00
--- a/compiler/rustc_target/src/spec/linux_musl_base.rs
+++ b/compiler/rustc_target/src/spec/linux_musl_base.rs
@@ -10,7 +10,7 @@
base.crt_objects_fallback = Some(CrtObjectsFallback::Musl);
// These targets statically link libc by default
- base.crt_static_default = false;
+ base.crt_static_default = true;
base
}