================ @@ -12,6 +12,7 @@ #include <libunwind.h> #include "config.h" +#ifndef __wasm__ ---------------- trcrsired wrote:
> I feel like we could detect `__wasm__` or similar in CMake. And it feels like > the right tool, though maybe not the most trivial to implement. Tbh i would always avoid wrapping around cmake, if platform macro works out. https://github.com/llvm/llvm-project/pull/79667 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits