chore (backend-rs): compile for native cpu arch

This commit is contained in:
naskya 2024-06-18 08:59:39 +09:00
parent 3f3b6ab0b7
commit 977a989a24
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -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",