Added rust
This commit is contained in:
parent
bbd6a84a3f
commit
04042c4108
7 changed files with 242 additions and 0 deletions
11
pkgs/rust/alpine-crt.patch
Normal file
11
pkgs/rust/alpine-crt.patch
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue