================
@@ -508,6 +512,9 @@ static bool is_local_impl(struct STATVFS &Vfs) {
 #elif defined(__EMSCRIPTEN__)
   // Emscripten doesn't currently support remote filesystem mounts.
   return true;
+#elif defined(__wasi__)
----------------
jyknight wrote:

It doesn't; C++ compilation only targets wasm.

The emscripten driver still supports generating javascript, but only via 
invoking the binaryen "wasm2js" tool post-link -- which translates the wasm 
binary into javascript.

https://github.com/llvm/llvm-project/pull/92677
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to