diff options
| author | Russ Cox <rsc@golang.org> | 2022-07-11 16:49:19 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2022-08-05 15:19:31 +0000 |
| commit | b12366bbb5e83ce0c4d3958d87c0872d2ad0e3e2 (patch) | |
| tree | db705834bc568fab1c59c9771e3bb5eb4886fe21 /src/runtime/internal/sys | |
| parent | 8f6884393d3d9026f3398d1e96c480a0368cc139 (diff) | |
| download | go-b12366bbb5e83ce0c4d3958d87c0872d2ad0e3e2.tar.xz | |
cmd/dist: force stackGuardMultiplierDefault to 1
Nothing seems to break, not even the noopt builder.
For #51256 (the conversation there is headed toward additional changes).
Change-Id: Icb7ca451159a74f351c25d2cefb32c773b9bb017
Reviewed-on: https://go-review.googlesource.com/c/go/+/416859
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/internal/sys')
| -rw-r--r-- | src/runtime/internal/sys/consts.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/internal/sys/consts.go b/src/runtime/internal/sys/consts.go index fffcf81d1f..c603716580 100644 --- a/src/runtime/internal/sys/consts.go +++ b/src/runtime/internal/sys/consts.go @@ -10,7 +10,7 @@ import ( ) // AIX requires a larger stack for syscalls. -const StackGuardMultiplier = StackGuardMultiplierDefault*(1-goos.IsAix) + 2*goos.IsAix +const StackGuardMultiplier = 1*(1-goos.IsAix) + 2*goos.IsAix // DefaultPhysPageSize is the default physical page size. const DefaultPhysPageSize = goarch.DefaultPhysPageSize |
