[libc-commits] [libc] [libc] Add wasm support for some submodules in llvm-libc. (PR #154383)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Tue Aug 19 09:59:18 PDT 2025
================
@@ -9,7 +9,7 @@
#ifndef LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_PLATFORM_ERRORS_H
#define LLVM_LIBC_SRC___SUPPORT_STRINGUTIL_PLATFORM_ERRORS_H
-#if defined(__linux__) || defined(__Fuchsia__)
+#if defined(__linux__) || defined(__Fuchsia__) || defined(__EMSCRIPTEN__)
----------------
jhuber6 wrote:
I'm not overly familiar with emscripten / wasm, but would this make more snse as a separate file? It sounds like a different platform than a linux.
https://github.com/llvm/llvm-project/pull/154383
More information about the libc-commits
mailing list