summaryrefslogtreecommitdiff
path: root/dev-lang/rust/files
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2023-06-01 16:06:15 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2023-06-01 20:00:55 -0700
commit06c05b95a6ccc8456ba1a829d89a3834e781e96b (patch)
treefdd905b7d5c8c0376293b1e17d70a3ebe00fad89 /dev-lang/rust/files
parentc3396d0ba688c7ee6687e7e10ee73cf8c67a71a8 (diff)
downloadgentoo-06c05b95a6ccc8456ba1a829d89a3834e781e96b.tar.gz
gentoo-06c05b95a6ccc8456ba1a829d89a3834e781e96b.tar.bz2
gentoo-06c05b95a6ccc8456ba1a829d89a3834e781e96b.zip
dev-lang/rust: add 1.70.0, add USE=lto
Use fat lto, instead of thin-local, as it provides more benefit at expense of build time. No bundled llvm lto for now, as it requires full clang/lld toolchain. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lang/rust/files')
-rw-r--r--dev-lang/rust/files/1.70.0-ignore-broken-and-non-applicable-tests.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-lang/rust/files/1.70.0-ignore-broken-and-non-applicable-tests.patch b/dev-lang/rust/files/1.70.0-ignore-broken-and-non-applicable-tests.patch
new file mode 100644
index 000000000000..2e12c7820550
--- /dev/null
+++ b/dev-lang/rust/files/1.70.0-ignore-broken-and-non-applicable-tests.patch
@@ -0,0 +1,30 @@
+From 1879d1d1a284bf51c752e47db284ce22701ed5d0 Mon Sep 17 00:00:00 2001
+From: Samuel Holland <samuel@sholland.org>
+Date: Sun, 16 Sep 2018 16:38:48 +0000
+Subject: [PATCH 12/15] Ignore broken and non-applicable tests
+
+c-link-to-rust-va-list-fn: unstable feature, broken on aarch64, #56475
+env-funky-keys: can't handle LD_PRELOAD (e.g. sandbox)
+long-linker-command-lines: takes >10 minutes to run (but still passes)
+simd-intrinsic-generic-bitmask.rs: broken on BE, #59356
+sparc-struct-abi: no sparc target
+sysroot-crates-are-unstable: can't run rustc without RPATH
+---
+ test/ui/env-funky-keys.rs | 1 +
+ 6 files changed, 10 insertions(+)
+
+diff --git a/tests/ui/env-funky-keys.rs b/tests/ui/env-funky-keys.rs
+index c5c824ac58d..f3fe047a79c 100644
+--- a/tests/ui/env-funky-keys.rs
++++ b/tests/ui/env-funky-keys.rs
+@@ -1,6 +1,7 @@
+ // run-pass
+ // Ignore this test on Android, because it segfaults there.
+
++// ignore-test
+ // ignore-android
+ // ignore-windows
+ // ignore-cloudabi no execve
+--
+2.24.1
+