From d738371848c5fca32c5dbe41eeae5097dbdcebae Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Thu, 30 Jun 2022 15:03:08 +0200 Subject: [PATCH] node: fix readme guide for building x64 on M1 mac --- node/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/README.md b/node/README.md index fdf140f2e..ab2fb824c 100644 --- a/node/README.md +++ b/node/README.md @@ -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