code icon indicating copy to clipboard operation
code copied to clipboard

ch6/ch6-particles does not compile on MacOS with `zsh: illegal hardware instruction cargo run`

Open Nsandomeno opened this issue 2 years ago • 8 comments

OS: MacOS

When in the root ch6-particles crate created with cargo, the following error is generated:

zsh: illegal hardware instruction  cargo run

Oddly, the programs behaves as expected (well, without the standard output) when commenting out the eprintln! line.

From my findings so far this appears to an OS specific issue and any suggestions would be much appreciated!

Nsandomeno avatar Dec 07 '22 03:12 Nsandomeno