mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 02:15:34 +00:00
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:
+1
-1
@@ -21,7 +21,7 @@ func buildJS(bi *buildInfo) error {
|
|||||||
cmd := exec.Command(
|
cmd := exec.Command(
|
||||||
"go",
|
"go",
|
||||||
"build",
|
"build",
|
||||||
"-ldflags=-w -s "+bi.ldflags,
|
"-ldflags="+bi.ldflags,
|
||||||
"-o", filepath.Join(out, "main.wasm"),
|
"-o", filepath.Join(out, "main.wasm"),
|
||||||
bi.pkg,
|
bi.pkg,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user