]> Cypherpunks repositories - gostls13.git/commit
cmd/link: add producer section to wasm binaries
authorRichard Musiol <mail@richard-musiol.de>
Mon, 23 Sep 2019 22:48:39 +0000 (00:48 +0200)
committerRichard Musiol <neelance@gmail.com>
Sun, 29 Sep 2019 09:13:13 +0000 (09:13 +0000)
commit57662b1575030aa09043cd7a48425abdc6e0e0a3
treeafdb69f6745f1bebbe96d961a6a94ec429874855
parentc19b7b23e55f5fdb33a6c280cf1af29eb54d456f
cmd/link: add producer section to wasm binaries

This change adds an optional "producer" section that reports the source
language and compiler version. See
https://github.com/WebAssembly/tool-conventions/blob/master/ProducersSection.md.

It also removes the now redundant "go.version" section.

Fixes #33295.

Change-Id: Ib4c80528728caf9e524fbd3f26822cbbc8b05a75
Reviewed-on: https://go-review.googlesource.com/c/go/+/196804
Run-TryBot: Richard Musiol <neelance@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Agniva De Sarker <agniva.quicksilver@gmail.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/wasm/asm.go