Add asm.js generation with CRYPTO_ASM env var (#23)
* Add asm.js generation, import via index-asm.js * Less sed-y, more babel-y * Throw error when some failed * CRYPTO_ASM env flag * CHANGELOG
This commit is contained in:
@@ -10,5 +10,8 @@ RUST_BACKTRACE=full rustup run nightly cargo test --release -- --nocapture
|
||||
echo "*** Testing WASM"
|
||||
node ./test/wasm.js
|
||||
|
||||
echo "*** Testing ASM.js"
|
||||
CRYPTO_ASM=1 node ./test/asm.js
|
||||
|
||||
echo "*** Testing via Jest"
|
||||
yarn jest ./test/jest.spec.js
|
||||
|
||||
Reference in New Issue
Block a user