1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-29 14:30:34 +02:00

Add wasm32 and wasm64 CPU types

* module/system/base/target.scm (cpu-endianness): wasm targets are
little-endian.
This commit is contained in:
Andy Wingo 2023-06-22 09:14:09 +02:00
parent 941c757ab7
commit 78948ae594

View file

@ -86,7 +86,9 @@
(cond ((string-match "^i[0-9]86$" cpu)
(endianness little))
((member cpu '("x86_64" "ia64"
"powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh3" "sh4" "alpha" "arc"))
"powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2"
"sh3" "sh4" "alpha" "arc"
"wasm32" "wasm64"))
(endianness little))
((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
"mips" "mips64" "m68k" "s390x"))