+rustc (1.29.0+dfsg1-1) UNRELEASED; urgency=medium
+
+ * Upload to unstable.
+ * Drop d-armel-disable-kernel-helpers.patch as a necessary part of the
+ fix to #906520, so it is actually fixed.
+ * Backport a patch to fix the rand crate on powerpc. (Closes: #909400)
+ * Lower the s390x allowed failures back to 25.
+
+ -- Ximin Luo <infinity0@debian.org> Sun, 23 Sep 2018 10:13:45 -0700
+
rustc (1.29.0+dfsg1-1~exp1) experimental; urgency=medium
* New upstream release.
+++ /dev/null
-From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
-Subject: rustc: Please include patch to disable kernel helpers on armel
-Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891902
-Forwarded: not-needed
-
---- a/src/libcompiler_builtins/build.rs
-+++ b/src/libcompiler_builtins/build.rs
-@@ -46,9 +46,9 @@
- }
-
- // Only emit the ARM Linux atomic emulation on pre-ARMv6 architectures.
-- if llvm_target[0] == "armv4t" || llvm_target[0] == "armv5te" {
-- println!("cargo:rustc-cfg=kernel_user_helpers")
-- }
-+ // if llvm_target[0] == "armv4t" || llvm_target[0] == "armv5te" {
-+ // println!("cargo:rustc-cfg=kernel_user_helpers")
-+ // }
- }
-
- #[cfg(feature = "c")]
#u-ignoretest-ppc64el_02.patch
# not forwarded, or forwarded but unlikely to be merged
+u-vendor-rand-fix-ppc-syscall.patch
u-reproducible-dl-stage0.patch
gcc-4.8-aarch64-ice.diff
d-add-soname.patch
d-dont-download-stage0.patch
d-ignore-removed-submodules.patch
-d-armel-disable-kernel-helpers.patch
d-read-beta-version-from-file.patch
d-ignore-impl-generic-mismatch-diff.patch
d-i686-baseline.patch
--- /dev/null
+--- a/src/vendor/rand-0.4.2/src/os.rs
++++ b/src/vendor/rand-0.4.2/src/os.rs
+@@ -102,7 +102,7 @@
+ #[cfg(target_arch = "aarch64")]
+ const NR_GETRANDOM: libc::c_long = 278;
+ #[cfg(target_arch = "powerpc")]
+- const NR_GETRANDOM: libc::c_long = 384;
++ const NR_GETRANDOM: libc::c_long = 359;
+
+ unsafe {
+ syscall(NR_GETRANDOM, buf.as_mut_ptr(), buf.len(), 0)
FAILURES_ALLOWED = 36
endif
ifneq (,$(filter $(DEB_BUILD_ARCH), s390x))
- FAILURES_ALLOWED = 50
+ FAILURES_ALLOWED = 25
endif
ifneq (,$(filter $(DEB_BUILD_ARCH), powerpc powerpcspe sparc64 x32))
FAILURES_ALLOWED = 180