mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-30 06:50:31 +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:
parent
941c757ab7
commit
78948ae594
1 changed files with 3 additions and 1 deletions
|
@ -86,7 +86,9 @@
|
||||||
(cond ((string-match "^i[0-9]86$" cpu)
|
(cond ((string-match "^i[0-9]86$" cpu)
|
||||||
(endianness little))
|
(endianness little))
|
||||||
((member cpu '("x86_64" "ia64"
|
((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))
|
(endianness little))
|
||||||
((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
|
((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
|
||||||
"mips" "mips64" "m68k" "s390x"))
|
"mips" "mips64" "m68k" "s390x"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue