[clang] [lld] [llvm] Conditionalize use of POSIX features missing on WASI/WebAssembly (PR #92677)

via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 14 17:51:58 PDT 2024


================
@@ -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__)
----------------
whitequark wrote:

Does emscripten no longer have asm.js mode? Last time I checked it did, but I'm not sure if it still does today...

https://github.com/llvm/llvm-project/pull/92677


More information about the llvm-commits mailing list