Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
r58Playz committed Jan 19, 2025
1 parent 365284a commit addddd1
Showing 3 changed files with 57 additions and 74 deletions.
124 changes: 54 additions & 70 deletions rewriter/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rewriter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ codegen-units = 1
panic = "abort"

[workspace.dependencies]
oxc = "0.44.0"
oxc = "0.47.1"

[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
5 changes: 2 additions & 3 deletions rewriter/wasm/build.sh
Original file line number Diff line number Diff line change
@@ -2,13 +2,12 @@
set -euo pipefail
shopt -s inherit_errexit

# Check for cargo and wasm-bindgen
which cargo wasm-bindgen wasm-opt wasm-snip &> /dev/null || {
echo "Please install cargo, wasm-bindgen, wasm-opt, and wasm-snip! Exiting..."
echo "Please install cargo, wasm-bindgen, wasm-opt from https://github.com/WebAssembly/binaryen, and wasm-snip from https://github.com/r58playz/wasm-snip!"
exit 1
}

WBG="wasm-bindgen 0.2.99"
WBG="wasm-bindgen 0.2.100"
if ! [[ "$(wasm-bindgen -V)" =~ ^"$WBG" ]]; then
echo "Incorrect wasm-bindgen-cli version: '$(wasm-bindgen -V)' != '$WBG'"
exit 1

0 comments on commit addddd1

Please sign in to comment.