generated from denorg/starter
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restults in a >2x speedup on my machine; AFAIK it's supported on all supported runtimes (deno since 1.09 - which this library doesn't work with anyway - and node since 16.4.0 which is already after EOL)
- Loading branch information
Showing
3 changed files
with
394 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
] | ||
}, | ||
"tasks": { | ||
"wasmbuild": "deno run --allow-env --allow-run --allow-read --allow-write --allow-net jsr:@deno/[email protected] --out ./lib/_wasm --project scrypt-wasm --sync" | ||
"wasmbuild": "RUSTFLAGS='-C target-feature=+simd128' deno run --allow-env --allow-run --allow-read --allow-write --allow-net jsr:@deno/[email protected] --out ./lib/_wasm --project scrypt-wasm --sync" | ||
}, | ||
"fmt": { | ||
"exclude": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,6 @@ lto = true | |
|
||
[features] | ||
default = [] | ||
|
||
[package.metadata.wasm-pack.profile.release] | ||
wasm-opt = ['--enable-simd'] |
Oops, something went wrong.