Added rust

This commit is contained in:
Ella-0 2021-01-30 21:58:39 +00:00
parent bbd6a84a3f
commit 04042c4108
7 changed files with 242 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- 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
}