mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
This change extracts the GOOS and GOARCH specific constants from runtime/internal/sys into packages that are available to the entire standard library. This change does not yet update the runtime and associated packages to use them, and instead adds constants to runtime/internal/sys to forward the constants defined by these new packages. Change-Id: I14d574b8d7bfe599ad25da29dc1b39716e35a734 Reviewed-on: https://go-review.googlesource.com/c/go/+/328336 Trust: Michael Knyszek <mknyszek@google.com> Run-TryBot: Michael Knyszek <mknyszek@google.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@golang.org>
13 lines
329 B
Go
13 lines
329 B
Go
// Copyright 2018 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 goarch
|
|
|
|
const (
|
|
_ArchFamily = WASM
|
|
_DefaultPhysPageSize = 65536
|
|
_PCQuantum = 1
|
|
_MinFrameSize = 0
|
|
_StackAlign = PtrSize
|
|
)
|