aboutsummaryrefslogtreecommitdiff
path: root/src/debug/macho/file_test.go
diff options
context:
space:
mode:
authorRichard Musiol <mail@richard-musiol.de>2021-10-24 12:28:18 +0200
committerDmitri Shuralyov <dmitshur@golang.org>2021-10-28 18:01:38 +0000
commit900443349b17bb1f989daa64856546955c70d104 (patch)
treea9f78754a9a62fa154165d84b79db2fa85ceec56 /src/debug/macho/file_test.go
parent8c9c1487727a5e7938ca6ee7440334123a467b25 (diff)
downloadgo-900443349b17bb1f989daa64856546955c70d104.tar.gz
go-900443349b17bb1f989daa64856546955c70d104.zip
[release-branch.go1.16] cmd/link: increase reserved space for passing env on wasm
On wasm, the wasm_exec.js helper passes the command line arguments and environment variables via a reserved space in the wasm linear memory. Increase this reserved space from 4096 to 8192 bytes so more environment variables can fit into the limit. Later, after https://golang.org/cl/350737 landed, we can switch to the WASI interface for getting the arguments and environment. This would remove the limit entirely. Updates #49011. Fixes #49153. Change-Id: I48a6e952a97d33404ed692c98e9b49c5cd6b269b Reviewed-on: https://go-review.googlesource.com/c/go/+/358194 Trust: Richard Musiol <neelance@gmail.com> Run-TryBot: Richard Musiol <neelance@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> (cherry picked from commit 252324e879e32f948d885f787decf8af06f82be9) Reviewed-on: https://go-review.googlesource.com/c/go/+/359400 Trust: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'src/debug/macho/file_test.go')
0 files changed, 0 insertions, 0 deletions