cmd/gio: don't strip debug info for webassembly builds

The space savings are minimal and we lose function names in the
browser debuggers.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-02 15:48:27 +02:00
parent 1c5ceab9c1
commit 6ce224b89f
+1 -1
View File
@@ -21,7 +21,7 @@ func buildJS(bi *buildInfo) error {
cmd := exec.Command(
"go",
"build",
"-ldflags=-w -s "+bi.ldflags,
"-ldflags="+bi.ldflags,
"-o", filepath.Join(out, "main.wasm"),
bi.pkg,
)