Skip to content

Commit ebbf104

Browse files
committed
fix(Makefile): update build command
Signed-off-by: Vaughn Dice <[email protected]>
1 parent ab6ace1 commit ebbf104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ENABLE_WASM_OPT ?= true
22

33
.PHONY: build
44
build:
5-
tinygo build -target=wasi -gc=leaking -o redirect.wasm ./
5+
tinygo build -target=wasip1 -gc=leaking -buildmode=c-shared -no-debug -o redirect.wasm ./
66
ifeq ($(ENABLE_WASM_OPT),true)
77
wasm-opt -Os -o redirect.wasm redirect.wasm
88
endif

0 commit comments

Comments
 (0)