Process killed with `illegal hardware instruction` on Apple M1
Describe the bug
Running a trivial program that uses rav1e results in zsh: illegal hardware instruction.
This issue was originally reported against the image crate, but was later isolated to rav1e: https://github.com/image-rs/image/issues/2108
To Reproduce
cargo run in this repository: https://github.com/astral4/avif-ub
Expected behavior The process should not crash.
Required Information
Originally observed on Mac OS, on rustc 1.75.0 (82e1608df 2023-12-21), with rav1e v0.7.1. You can find the full Cargo.lock in the repository.
I cannot reproduce the problem with rustc 1.79.0 (129f3b996 2024-06-10) on an Apple M2.
Thank you for investigating!
@astral4 can you confirm whether you are still experiencing this issue?