node: fix readme guide for building x64 on M1 mac

This commit is contained in:
Simon Laux
2022-06-30 15:03:08 +02:00
committed by Simon Laux
parent 6cabb32aa5
commit d738371848

View File

@@ -117,7 +117,7 @@ $ fnm install 17 --arch x64
$ fnm use 17
$ node -p process.arch
# result should be x64
$ cd deltachat-core-rust && rustup target add x86_64-apple-darwin && cd -
$ rustup target add x86_64-apple-darwin
$ git apply patches/m1_build_use_x86_64.patch
$ CARGO_BUILD_TARGET=x86_64-apple-darwin npm run build
$ npm run test