mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 07:57:29 +00:00
cmd/gio: (wasm) support command line flags
Strip also DWARF and the symbol table while here. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -21,6 +21,7 @@ func buildJS(bi *buildInfo) error {
|
||||
cmd := exec.Command(
|
||||
"go",
|
||||
"build",
|
||||
"-ldflags=-w -s "+bi.ldflags,
|
||||
"-o", filepath.Join(out, "main.wasm"),
|
||||
bi.pkg,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user