diff options
| author | Richard Musiol <mail@richard-musiol.de> | 2019-03-24 18:21:11 +0100 |
|---|---|---|
| committer | Richard Musiol <neelance@gmail.com> | 2019-03-25 07:54:44 +0000 |
| commit | fb9b818bbd2273579ea09f71017ee42bbc91a3b3 (patch) | |
| tree | 5c15e4c78a235b999afcae98e901f62b181512ac /src/database/sql/example_test.go | |
| parent | 56e1614c47cca7dc76b435f485fe86fe088d5127 (diff) | |
| download | go-fb9b818bbd2273579ea09f71017ee42bbc91a3b3.tar.xz | |
cmd/link/internal/wasm: do not generate more than 100000 data segments
Some WebAssembly runtimes (e.g. Node.js) fail to load a wasm binary if
it has more than 100000 data segments. Do not skip zero regions any more
if the limit was reached.
Change-Id: I14c4c2aba142d1d2b887bce6d03b8c1c1746c5ec
Reviewed-on: https://go-review.googlesource.com/c/go/+/168884
Run-TryBot: Richard Musiol <neelance@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/database/sql/example_test.go')
0 files changed, 0 insertions, 0 deletions
