]> git.proxmox.com Git - wasi-libc.git/commitdiff
Say "wasm32-wasi" rather than "wasm32-unknown-wasi".
authorDan Gohman <sunfish@mozilla.com>
Mon, 29 Apr 2019 00:05:24 +0000 (17:05 -0700)
committerDan Gohman <sunfish@mozilla.com>
Tue, 30 Apr 2019 23:14:32 +0000 (16:14 -0700)
Makefile
README.md
libc-top-half/musl/include/setjmp.h

index 7d2b6acc30d3ec12da3074f8d793d5e5f8a0133a..ad94d8690f6c705c8391950150910139d095b0cd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -153,9 +153,9 @@ LIBC_TOP_HALF_ALL_SOURCES = \
     $(LIBC_TOP_HALF_MUSL_SOURCES) \
     $(shell find $(LIBC_TOP_HALF_SOURCES) -name \*.c)
 
-# Set the target variables. The multiarch triple is the same as the
-# regular triple for wasm, except that it excludes the vendor field.
-TARGET_TRIPLE = wasm32-unknown-wasi
+# Set the target variables. Multiarch triples notably omit the vendor
+# field, which happens to be what we do for the main target triple too.
+TARGET_TRIPLE = wasm32-wasi
 MULTIARCH_TRIPLE = wasm32-wasi
 
 # These variables describe the locations of various files and
index 21c92f5ab274b6cb8693e60f655b86c73af7e0a0..b9506dfaf9ff220aae0cce214ced0e1bcda9866d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -8,8 +8,8 @@ aren't stable yet.
 It's several things.
 
 First, it's a usable libc. It builds a "sysroot" which can be pointed to by
-compilers, such as Clang 8.0, using the wasm32-unknown-wasi target triple.
-It's a work in progress, but it is already sufficient to run basic programs.
+compilers, such as Clang 8.0, using the wasm32-wasi target. It's a work in
+progress, but it is already sufficient to run basic programs.
 
 Second, it's a "reference" implementation, which means the interfaces defined
 here can be used by other tools and libraries, even if they don't use all the
index 2fa57a2dcba118a7006c5127a23d433e5782cd42..6a653efa3d50246fba608fe1eb5aa93377dc90f9 100644 (file)
@@ -35,7 +35,7 @@ _Noreturn void longjmp (jmp_buf, int);
 
 #define setjmp setjmp
 #else
-#warning setjmp is not yet implemented for wasm32-unknown-wasi
+#warning setjmp is not yet implemented for WASI
 #endif
 
 #ifdef __cplusplus