chore (backend-rs): compile for native cpu arch
This commit is contained in:
parent
3f3b6ab0b7
commit
977a989a24
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"artifacts": "napi artifacts",
|
||||
"build": "napi build --features napi --no-const-enum --platform --release ./built/",
|
||||
"build": "RUSTFLAGS='-C target-cpu=native' napi build --features napi --no-const-enum --platform --release ./built/",
|
||||
"build:debug": "napi build --features napi --no-const-enum --platform ./built/",
|
||||
"prepublishOnly": "napi prepublish -t npm",
|
||||
"universal": "napi universal",
|
||||
|
|
Loading…
Reference in a new issue