Skip to content

Commit 39977c9

Browse files
committed
cmd/link: attach buildinfo to wasm binary
1 parent bb0c14b commit 39977c9

File tree

1 file changed

+1
-0
lines changed
  • src/cmd/link/internal/wasm

1 file changed

+1
-0
lines changed

src/cmd/link/internal/wasm/asm.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ func asmb(ctxt *ld.Link, ldr *loader.Loader) {
131131
ldr.SymSect(ldr.Lookup("runtime.pclntab", 0)),
132132
ldr.SymSect(ldr.Lookup("runtime.noptrdata", 0)),
133133
ldr.SymSect(ldr.Lookup("runtime.data", 0)),
134+
ldr.SymSect(ldr.Lookup("go:buildinfo", 0)),
134135
}
135136

136137
dataSects = make([]wasmDataSect, len(sections))

0 commit comments

Comments
 (0)