diff options
Diffstat (limited to 'community/rust/alpine-target.patch')
-rw-r--r-- | community/rust/alpine-target.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/community/rust/alpine-target.patch b/community/rust/alpine-target.patch index d25da5b584..2e3e8610bc 100644 --- a/community/rust/alpine-target.patch +++ b/community/rust/alpine-target.patch @@ -9,10 +9,12 @@ and distribution-specific quirks instead of polluting the main musl target of --- a/src/librustc_target/spec/mod.rs +++ b/src/librustc_target/spec/mod.rs -@@ -412,6 +412,11 @@ +@@ -412,8 +412,13 @@ ("riscv32imac-unknown-none-elf", riscv32imac_unknown_none_elf), ("aarch64-unknown-none", aarch64_unknown_none), + + ("x86_64-fortanix-unknown-sgx", x86_64_fortanix_unknown_sgx), + + ("i586-alpine-linux-musl", i586_alpine_linux_musl), + ("x86_64-alpine-linux-musl", x86_64_alpine_linux_musl), @@ -99,7 +101,7 @@ and distribution-specific quirks instead of polluting the main musl target of +} --- /dev/null +++ b/src/librustc_target/spec/aarch64_alpine_linux_musl.rs -@@ -0,0 +1,38 @@ +@@ -0,0 +1,36 @@ +// Copyright 2017 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. @@ -118,8 +120,6 @@ and distribution-specific quirks instead of polluting the main musl target of + base.crt_static_default = false; + base.static_position_independent_executables = true; + base.need_rpath = true; -+ // see #36994 -+ base.exe_allocation_crate = None; + + Ok(Target { + llvm_target: "aarch64-alpine-linux-musl".to_string(), |