mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[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
This commit is contained in:
parent
312a64ec4e
commit
0fe444d3e8
27 changed files with 379 additions and 79 deletions
|
|
@ -775,7 +775,7 @@ func shrinkstack(gp *g) {
|
|||
}
|
||||
|
||||
/* TODO
|
||||
if _Windows && gp.m != nil && gp.m.libcallsp != 0 {
|
||||
if goos_windows && gp.m != nil && gp.m.libcallsp != 0 {
|
||||
return
|
||||
}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue