Source file src/internal/goarch/goarch_wasm32.go
1 // Copyright 2024 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build wasm32 6 7 package goarch 8 9 const ( 10 _ArchFamily = WASM 11 _DefaultPhysPageSize = 65536 12 _PCQuantum = 1 13 _MinFrameSize = 0 14 // WASI requires 8-byte alignment for uint64 values on the Go stack. 15 // The return-PC slot is also 8 bytes wide. 16 _StackAlign = 8 17 ) 18