rust-lang / portable-simd

The testing ground for the future of portable SIMD in Rust
Apache License 2.0
903 stars 81 forks source link

Fix load/store safety comments to require aligned `T` #383

Closed programmerjake closed 11 months ago

programmerjake commented 11 months ago

Fixes: #382

programmerjake commented 11 months ago

afaict nothing uses load or store with totally unaligned pointers, so this change is safe.

programmerjake commented 11 months ago

tests failing because exposed_provenance was apparently split out of the strict_provenance feature gate.

RalfJung commented 11 months ago

tests failing because exposed_provenance was apparently split out of the strict_provenance feature gate.

Yes, that was https://github.com/rust-lang/rust/pull/118487.