diff options
| author | Russ Cox <rsc@golang.org> | 2014-11-18 12:07:50 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-11-18 12:07:50 -0500 |
| commit | 0fe444d3e81d890ce496b6a260494473948b060a (patch) | |
| tree | d9a7ec9b40ad360bdbf6569744c2f316c16ad0e1 /src/runtime/stack2.go | |
| parent | 312a64ec4eb3e0fdb6ab6b23deb99699abc7f54e (diff) | |
| download | go-0fe444d3e81d890ce496b6a260494473948b060a.tar.xz | |
[dev.cc] runtime: generate GOOS- and GOARCH-specific files with go generate
Eventually I'd like almost everything cmd/dist generates
to be done with 'go generate' and checked in, to simplify
the bootstrap process. The only thing cmd/dist really needs
to do is write things like the current experiment info and
the current version.
This is a first step toward that. It replaces the _NaCl etc
constants with generated ones goos_nacl, goos_darwin,
goarch_386, and so on.
LGTM=dave, austin
R=austin, dave, bradfitz
CC=golang-codereviews, iant, r
https://golang.org/cl/174290043
Diffstat (limited to 'src/runtime/stack2.go')
| -rw-r--r-- | src/runtime/stack2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stack2.go b/src/runtime/stack2.go index c3718c205e..e50b32c784 100644 --- a/src/runtime/stack2.go +++ b/src/runtime/stack2.go @@ -59,7 +59,7 @@ const ( // to each stack below the usual guard area for OS-specific // purposes like signal handling. Used on Windows and on // Plan 9 because they do not use a separate stack. - _StackSystem = _Windows*512*ptrSize + _Plan9*512 + _StackSystem = goos_windows*512*ptrSize + goos_plan9*512 // The minimum size of stack used by Go code _StackMin = 2048 |
