Browse Source

wasm: fix Makefile to avoid debuginfo

pull/314/head
Ayke van Laethem 6 years ago
committed by Ron Evans
parent
commit
421ef04efb
  1. 4
      src/examples/wasm/Makefile

4
src/examples/wasm/Makefile

@ -1,10 +1,10 @@
export: clean wasm_exec
tinygo build -o ./html/wasm.wasm -target wasm ./export/wasm.go
tinygo build -o ./html/wasm.wasm -target wasm -no-debug ./export/wasm.go
cp ./export/wasm.js ./html/
cp ./export/index.html ./html/
main: clean wasm_exec
tinygo build -o ./html/wasm.wasm -target wasm ./main/main.go
tinygo build -o ./html/wasm.wasm -target wasm -no-debug ./main/main.go
cp ./main/index.html ./html/
wasm_exec:

Loading…
Cancel
Save