Skip to content

Commit 421ef04

Browse files
aykevldeadprogram
authored andcommitted
wasm: fix Makefile to avoid debuginfo
1 parent f7687c4 commit 421ef04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/examples/wasm/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
export: clean wasm_exec
2-
tinygo build -o ./html/wasm.wasm -target wasm ./export/wasm.go
2+
tinygo build -o ./html/wasm.wasm -target wasm -no-debug ./export/wasm.go
33
cp ./export/wasm.js ./html/
44
cp ./export/index.html ./html/
55

66
main: clean wasm_exec
7-
tinygo build -o ./html/wasm.wasm -target wasm ./main/main.go
7+
tinygo build -o ./html/wasm.wasm -target wasm -no-debug ./main/main.go
88
cp ./main/index.html ./html/
99

1010
wasm_exec:

0 commit comments

Comments
 (0)