aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/alpine-target.patch
diff options
context:
space:
mode:
authorMarat Safin <jeizsm@gmail.com>2019-01-18 12:37:41 +0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-23 19:38:12 +0000
commite066018fc40a37267d5cbaed6245382d1215ee15 (patch)
treebd0999e1e2c390216c7763a4f9788d7025f5ff33 /community/rust/alpine-target.patch
parent59c72398df08141f4177bd93f513451e16d90480 (diff)
downloadaports-e066018fc40a37267d5cbaed6245382d1215ee15.tar.bz2
aports-e066018fc40a37267d5cbaed6245382d1215ee15.tar.xz
community/rust: upgrade to 1.32.0
Signed-off-by: Marat Safin <jeizsm@gmail.com> Closes GH-6071
Diffstat (limited to 'community/rust/alpine-target.patch')
-rw-r--r--community/rust/alpine-target.patch8
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(),