Skip to content

Commit 6259d7f

Browse files
Remove mention of bug fixed for 5 years
1 parent 59efef3 commit 6259d7f

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

WebAssembly.asciidoc

-15
Original file line numberDiff line numberDiff line change
@@ -338,21 +338,6 @@ https://wasdk.github.io/wasmcodeexplorer/[WebAssembly Code Explorer] is useful f
338338
* Clicking on a hex value to the left will highlight the section it is part of, and the corresponding text representation on the right
339339
* Clicking a line on the right will highlight the hex byte representations for it on the left
340340
341-
# Known bug(s)
342-
343-
Go releases prior to 1.11.2 https://github.com/golang/go/issues/27961[have a bug] which can generate incorrect wasm code in some (rare) circumstances.
344-
345-
If your Go code compiles to wasm without problem, but produces an error like this when run in the browser:
346-
347-
```
348-
CompileError: wasm validation error: at offset 1269295: type mismatch: expression has type i64 but expected f64
349-
```
350-
351-
Then you're probably hitting this error.
352-
353-
The solution is to upgrade to Go 1.11.2 or later.
354-
355-
356341
# Reducing the size of Wasm files
357342
358343
At present, Go generates large Wasm files, with the smallest possible size being around ~2MB. If your Go code imports libraries, this file size can increase dramatically. 10MB+ is common.

0 commit comments

Comments
 (0)