mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 16:06:19 +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(
|
||||
"go",
|
||||
"build",
|
||||
"-ldflags=-w -s "+bi.ldflags,
|
||||
"-ldflags="+bi.ldflags,
|
||||
"-o", filepath.Join(out, "main.wasm"),
|
||||
bi.pkg,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user