wingo pushed a commit to branch main in repository guile. commit 78948ae594ced45e3a5cd3a7bf0c3f4397ac9b16 Author: Andy Wingo <wi...@pobox.com> AuthorDate: Thu Jun 22 09:14:09 2023 +0200
Add wasm32 and wasm64 CPU types * module/system/base/target.scm (cpu-endianness): wasm targets are little-endian. --- module/system/base/target.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/system/base/target.scm b/module/system/base/target.scm index e845b9947..f06798789 100644 --- a/module/system/base/target.scm +++ b/module/system/base/target.scm @@ -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"))