cpu: add wasm32 "architecture"

wasm32 is wasm but with 32-bit pointers, int, uint.
Weird special case is that int64 and float64
and complex128 need 64-bit alignment, unlike
many other 32-bit architectures.

Change-Id: I0c54456295fe44083f576600cd2f2027b87e8428
Reviewed-on: https://go-review.googlesource.com/c/sys/+/856842
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2 files changed
tree: e105db2061736d8b519190a891bcd89f245d98d5
  1. cpu/
  2. execabs/
  3. plan9/
  4. unix/
  5. windows/
  6. .gitattributes
  7. .gitignore
  8. codereview.cfg
  9. CONTRIBUTING.md
  10. go.mod
  11. LICENSE
  12. PATENTS
  13. README.md
README.md

sys

Go Reference

This repository holds supplemental Go packages for low-level interactions with the operating system.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.

The git repository is https://go.googlesource.com/sys.

The main issue tracker for the sys repository is located at https://go.dev/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.