Skip to content

Commit

Permalink
chore: single thread bls
Browse files Browse the repository at this point in the history
  • Loading branch information
hadelive committed Jun 2, 2024
1 parent 8f55de0 commit 8036fee
Show file tree
Hide file tree
Showing 12 changed files with 211 additions and 659 deletions.
3 changes: 1 addition & 2 deletions packages/uplc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
"./snippets/*"
],
"scripts": {
"build-local": "rm -rf dist && cd rust ; wasm-pack build --target web --out-dir ../src/browser && wasm-pack build --target nodejs --out-dir ../src/node && pnpm clean-garbage",
"build-local": "rm -rf dist && cd rust ;export CC=emcc; export AR=emar; EMCC_CFLAGS='-s ERROR_ON_UNDEFINED_SYMBOLS=0 --no-entry' cargo build --target wasm32-unknown-emscripten --release;wasm-bindgen --target web --out-dir ../src/browser target/wasm32-unknown-emscripten/release/uplc_tx.wasm && wasm-bindgen --target nodejs --out-dir ../src/node target/wasm32-unknown-emscripten/release/uplc_tx.wasm",
"build": "cp -r src dist",
"clean-garbage": "rm src/browser/.gitignore src/browser/package.json src/node/.gitignore src/node/package.json",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
}
}
Loading

0 comments on commit 8036fee

Please sign in to comment.