Skip to content

Commit

Permalink
Add --signext-lowering option for wasm-opt for better browser ver…
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Jul 19, 2023
1 parent 046def7 commit feac09a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ install:
wasm:
wasm-pack build --release --scope huacnlee -d $(WORKDIR)/pkg --out-name autocorrect autocorrect-wasm
sed -ie "s/autocorrect\-wasm/autocorrect/" $(WORKDIR)/pkg/package.json
wasm-opt -Os -o pkg/autocorrect_bg.wasm pkg/autocorrect_bg.wasm
wasm-opt -Os --signext-lowering -o pkg/autocorrect_bg.wasm pkg/autocorrect_bg.wasm
wasm\:publish:
make wasm
@echo "\n\nWill release version: $(LAST_TAG_VERSION)\n\n"
Expand Down
2 changes: 1 addition & 1 deletion autocorrect-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "autocorrect-wasm"
version = "2.6.2"
version = "2.6.3"

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down

0 comments on commit feac09a

Please sign in to comment.