aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/link/internal/wasm/asm.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/link/internal/wasm/asm.go')
-rw-r--r--src/cmd/link/internal/wasm/asm.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/link/internal/wasm/asm.go b/src/cmd/link/internal/wasm/asm.go
index 7f8742d008..550ed5bc3c 100644
--- a/src/cmd/link/internal/wasm/asm.go
+++ b/src/cmd/link/internal/wasm/asm.go
@@ -187,6 +187,8 @@ func asmb2(ctxt *ld.Link) {
if !*ld.FlagS {
writeNameSec(ctxt, len(hostImports), fns)
}
+
+ ctxt.Out.Flush()
}
func lookupType(sig *wasmFuncType, types *[]*wasmFuncType) uint32 {