Apple M1 issue
javaxiu opened this issue · 2 comments
javaxiu commented
kjvalencik commented
@javaxiu This seems like the addon is being built for a different architecture than Node is running under.
Can you confirm a few things?
- The issue still happens after running
cargo clean
and then rebuilding. This will rule out an old build for a different architecture. - Both the shell and node being run are compiled for M1 and not running under Rosetta. This can be checked in activity monitor or the CLI.
- The Rust build chain being used is for aarch.
FYI, native add-ons are not portable across CPU architectures. However, you can use lipo
to make a large binary that supports both.
kjvalencik commented
Closing this issue since it has not had updates in awhile and we have sufficient evidence that Neon works great on M1.
Let me know if you continue to have problems and I will re-open.