Try to detect if the module was compiled by golang/go (not by tinygo).
(b []byte)
| 15 | |
| 16 | // Try to detect if the module was compiled by golang/go (not by tinygo). |
| 17 | func binCompiledByGo(b []byte) bool { |
| 18 | return wasmHasCustomSection(b, "go:buildid") |
| 19 | } |
| 20 | |
| 21 | // partialPCHeader is a small fraction of the PCHEader written by the linker. |
| 22 | // See pclntabHeaderFromData for more details. |
no test coverage detected