mirror of
https://github.com/chatmail/core.git
synced 2026-04-24 08:56:29 +03:00
node: fix readme guide for building x64 on M1 mac
This commit is contained in:
@@ -117,7 +117,7 @@ $ fnm install 17 --arch x64
|
|||||||
$ fnm use 17
|
$ fnm use 17
|
||||||
$ node -p process.arch
|
$ node -p process.arch
|
||||||
# result should be x64
|
# 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
|
$ git apply patches/m1_build_use_x86_64.patch
|
||||||
$ CARGO_BUILD_TARGET=x86_64-apple-darwin npm run build
|
$ CARGO_BUILD_TARGET=x86_64-apple-darwin npm run build
|
||||||
$ npm run test
|
$ npm run test
|
||||||
|
|||||||
Reference in New Issue
Block a user