mirror of
https://github.com/golang/go
synced 2024-11-20 10:54:49 -07:00
0fe444d3e8
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
16 lines
387 B
Go
16 lines
387 B
Go
// Copyright 2011 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package runtime
|
|
|
|
const (
|
|
thechar = '5'
|
|
_BigEndian = 0
|
|
_CacheLineSize = 32
|
|
_RuntimeGogoBytes = 60
|
|
_PhysPageSize = 65536*goos_nacl + 4096*(1-goos_nacl)
|
|
_PCQuantum = 4
|
|
_Int64Align = 4
|
|
)
|