aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/alpine-target.patch
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-23 21:02:01 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-24 18:38:18 +0000
commitde1e86703e0786ed69ecbd451aeb262f590bcdec (patch)
tree364dfb3b40805d95e70db2e151644461354d490a /community/rust/alpine-target.patch
parent3e027bc404156894ad8388027f6d341db8d80d48 (diff)
downloadaports-de1e86703e0786ed69ecbd451aeb262f590bcdec.tar.bz2
aports-de1e86703e0786ed69ecbd451aeb262f590bcdec.tar.xz
community/rust: upgrade to 1.33.0
Closes GH-8023
Diffstat (limited to 'community/rust/alpine-target.patch')
-rw-r--r--community/rust/alpine-target.patch19
1 files changed, 8 insertions, 11 deletions
diff --git a/community/rust/alpine-target.patch b/community/rust/alpine-target.patch
index 2e3e8610bc..66c8345f2f 100644
--- a/community/rust/alpine-target.patch
+++ b/community/rust/alpine-target.patch
@@ -7,22 +7,19 @@ This adds `$arch-alpine-linux-musl` targets to Rust to encode our toolchain
and distribution-specific quirks instead of polluting the main musl target of
`$arch-unknown-linux-musl`.
---- a/src/librustc_target/spec/mod.rs
-+++ b/src/librustc_target/spec/mod.rs
-@@ -412,8 +412,13 @@
- ("riscv32imac-unknown-none-elf", riscv32imac_unknown_none_elf),
-
- ("aarch64-unknown-none", aarch64_unknown_none),
+--- a/src/librustc_target/spec/mod.rs.orig 2019-05-23 21:05:45.173347119 +0200
++++ b/src/librustc_target/spec/mod.rs 2019-05-23 21:06:39.006681699 +0200
+@@ -328,6 +328,10 @@
+ }
- ("x86_64-fortanix-unknown-sgx", x86_64_fortanix_unknown_sgx),
-+
+ supported_targets! {
+ ("i586-alpine-linux-musl", i586_alpine_linux_musl),
+ ("x86_64-alpine-linux-musl", x86_64_alpine_linux_musl),
+ ("aarch64-alpine-linux-musl", aarch64_alpine_linux_musl),
+ ("arm-alpine-linux-musleabihf", arm_alpine_linux_musleabihf),
- }
-
- /// Everything `rustc` knows about how to compile for a specific target.
+ ("x86_64-unknown-linux-gnu", x86_64_unknown_linux_gnu),
+ ("x86_64-unknown-linux-gnux32", x86_64_unknown_linux_gnux32),
+ ("i686-unknown-linux-gnu", i686_unknown_linux_gnu),
--- /dev/null
+++ b/src/librustc_target/spec/i586_alpine_linux_musl.rs
@@ -0,0 +1,35 @@