aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2021-03-27 10:41:34 +0100
committerRasmus Thomsen <oss@cogitri.dev>2021-03-27 10:41:43 +0100
commit730380cd0aaa7bdf1155f30e7bbc30f5cec63941 (patch)
treeda193bc33f6cc24ef68d7b0e7c73c8f87d31c6f6
parentddc9c28dbf87f7af3f065f5317452c0bbbe5a513 (diff)
downloadaports-730380cd0aaa7bdf1155f30e7bbc30f5cec63941.tar.gz
aports-730380cd0aaa7bdf1155f30e7bbc30f5cec63941.tar.bz2
aports-730380cd0aaa7bdf1155f30e7bbc30f5cec63941.tar.xz
community/rust: upgrade to 1.51.0
-rw-r--r--community/rust/APKBUILD10
-rw-r--r--community/rust/musl-add-s390x-target.patch4
2 files changed, 7 insertions, 7 deletions
diff --git a/community/rust/APKBUILD b/community/rust/APKBUILD
index 8b3d71d829..d586930429 100644
--- a/community/rust/APKBUILD
+++ b/community/rust/APKBUILD
@@ -4,10 +4,10 @@
# Contributor: Jeizsm <jeizsm@gmail.com>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=rust
-pkgver=1.50.0
+pkgver=1.51.0
_llvmver=11
-_bootver=1.49.0
-pkgrel=1
+_bootver=1.50.0
+pkgrel=0
pkgdesc="The Rust Programming Language"
url="https://www.rust-lang.org"
arch="x86_64 armv7 armhf aarch64 x86 ppc64le"
@@ -339,9 +339,9 @@ _mv() {
mv "$@"
}
-sha512sums="30a8a64379427901fe9a23044897456f26e7f7ab146400464feeb663aeff7539c98d78ecbd6a446535a86c8740a6ece9edf19807dc28795b832a988722fe7990 rustc-1.50.0-src.tar.gz
+sha512sums="694189c7d48537b29fdf39e1b4cac58166c72d8e5adef59da788a5a49ac803ef4c1648b3e36bc9834305240a3a394bef052fc3388ea9b7de46d3e5c7342aefe7 rustc-1.51.0-src.tar.gz
4accbdf546e9f82f38d56169f65fcfb53839e1df89978b9a434a59a1dcb80b4d57c0272c0ece65530ce09ad0f7a7e880b4b97e2b8dd8f2bccace02a5874e6733 musl-fix-linux_musl_base.patch
-f707327d257bf9c55f56298c33720679cfc577bed25b9ba17725c0924411a5fa3af86f1d8dd0f63f37adae1560f7e66768dff90509e4125c1ddedd759ce72618 musl-add-s390x-target.patch
+cd7449bcdd4947df3f9a6632589764b0fa3dcef7b310f5c69144051a70e2aede40b2627c5aa8264a8bd2b3a9519ee4880a75de60d577762bead8e231d960b049 musl-add-s390x-target.patch
2fa569ea83338af929f472abf68d39e889c93f0a0e07cba4017fc9da55ab40d4d598489b21cea688f9d9fe186f7a7207266bf3175bb226818f06934dfffd8e07 need-rpath.patch
bc28e1edae88f48eb0368cd0905280c323d521c7e13b6fc2bb1fb6e57274fa418afdc9cb3342f4928842e309d0573b98e82976159541c88b35694dceaf7a82e4 need-ssp_nonshared.patch
03a179e31c95f88a98fb1ba6b2fd0baaf9fe1a74ade76d3096fe45ddc5e453c25109355e667783d9be1bcc585445d07b7270cb3e6e403de971049714f2c6f91a alpine-move-py-scripts-to-share.patch
diff --git a/community/rust/musl-add-s390x-target.patch b/community/rust/musl-add-s390x-target.patch
index b373a984df..1be8e2ecc9 100644
--- a/community/rust/musl-add-s390x-target.patch
+++ b/community/rust/musl-add-s390x-target.patch
@@ -11,7 +11,7 @@
--- /dev/null
+++ rustc-1.48.0-src/compiler/rustc_target/src/spec/s390x_unknown_linux_musl.rs
@@ -0,0 +1,28 @@
-+use crate::spec::{LinkerFlavor, Target};
++use crate::{abi::Endian, spec::{LinkerFlavor, Target}};
+
+pub fn target() -> Target {
+ let mut base = super::linux_base::opts();
@@ -24,7 +24,7 @@
+ base.max_atomic_width = Some(64);
+ base.min_global_align = Some(16);
+ base.static_position_independent_executables = true;
-+ base.endian = "big".to_string();
++ base.endian = Endian::Big;
+ base.c_int_width = "32".to_string();
+ base.os = "linux".to_string();
+ base.env = "musl".to_string();