diff options
| author | Sam James <sam@gentoo.org> | 2025-05-17 16:07:04 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-05-17 16:07:04 +0100 |
| commit | eb4129a37e08da19162f1c487f8891661f9f767a (patch) | |
| tree | 19fd18ab96e0f982cb036757bf69af54d61df60c /dev-lang/rust/rust-1.87.0.ebuild | |
| parent | 22841db98179e24c2b54f55714518a4b88b48cc5 (diff) | |
| download | gentoo-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.ebuild | 1 |
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() { |
