summaryrefslogtreecommitdiff
path: root/dev-lang/rust/rust-1.87.0.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-05-17 16:07:04 +0100
committerSam James <sam@gentoo.org>2025-05-17 16:07:04 +0100
commiteb4129a37e08da19162f1c487f8891661f9f767a (patch)
tree19fd18ab96e0f982cb036757bf69af54d61df60c /dev-lang/rust/rust-1.87.0.ebuild
parent22841db98179e24c2b54f55714518a4b88b48cc5 (diff)
downloadgentoo-eb4129a37e08da19162f1c487f8891661f9f767a.tar.gz
gentoo-eb4129a37e08da19162f1c487f8891661f9f767a.tar.bz2
gentoo-eb4129a37e08da19162f1c487f8891661f9f767a.zip
dev-lang/rust: ignore must_use noise in core_simd
There's a bunch of must_use inside of portable_simd's core_simd crate which breaks the build. Just mark the relevant files with `allow(unused_attributes)` as there's loads of others, and I don't understand what a trait implementation actually is (as my understanding would mean there's really many others). This fixes building with RUSTFLAGS containing -C target-cpu=native where native is znver4 at least. Closes: https://bugs.gentoo.org/956018 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/rust/rust-1.87.0.ebuild')
-rw-r--r--dev-lang/rust/rust-1.87.0.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-lang/rust/rust-1.87.0.ebuild b/dev-lang/rust/rust-1.87.0.ebuild
index 2bbb62c4d025..07bd09f36b48 100644
--- a/dev-lang/rust/rust-1.87.0.ebuild
+++ b/dev-lang/rust/rust-1.87.0.ebuild
@@ -174,6 +174,7 @@ PATCHES=(
"${FILESDIR}"/1.85.0-cross-compile-libz.patch
"${FILESDIR}"/1.85.0-musl-dynamic-linking.patch
"${FILESDIR}"/1.67.0-doc-wasm.patch
+ "${FILESDIR}"/1.87.0-znver.patch
)
clear_vendor_checksums() {