aboutsummaryrefslogtreecommitdiff
path: root/src/internal/goarch/goarch_wasm.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/goarch/goarch_wasm.go')
-rw-r--r--src/internal/goarch/goarch_wasm.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/internal/goarch/goarch_wasm.go b/src/internal/goarch/goarch_wasm.go
new file mode 100644
index 0000000000..98618d6980
--- /dev/null
+++ b/src/internal/goarch/goarch_wasm.go
@@ -0,0 +1,13 @@
+// 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
+)