22 lines
869 B
Diff
22 lines
869 B
Diff
The original patch got reverted upstream, but LaneCount and SupportedLaneCount no longer work in Rust 1.95.0
|
|
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
|
|
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
|
|
@@ -152,7 +152,6 @@ impl_unsafe_marker_for_simd!(
|
|
unsafe impl<T, const N: usize> Pod for core::simd::Simd<T, N>
|
|
where
|
|
T: core::simd::SimdElement + Pod,
|
|
- core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
|
|
{
|
|
}
|
|
|
|
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
|
|
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
|
|
@@ -231,7 +231,6 @@ impl_unsafe_marker_for_simd!(
|
|
unsafe impl<T, const N: usize> Zeroable for core::simd::Simd<T, N>
|
|
where
|
|
T: core::simd::SimdElement + Zeroable,
|
|
- core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
|
|
{
|
|
}
|
|
|