code
code copied to clipboard
ch6/ch6-particles does not compile on MacOS with `zsh: illegal hardware instruction cargo run`
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!