This is insanely valuable work by @whitequark to compile #llvm to #webassembly #wasi and #wasmcomponents -- and THEN submit to upstream so that others can help AND enjoy that hard work: https://discourse.llvm.org/t/rfc-building-llvm-for-webassembly/79073/22
#RESPECT and #howcanihelp
[RFC] Building LLVM for WebAssembly
OK, for everyone who wants to try this out, I’ve added a horrifically cursed “compiler driver driver” that makes the Wasm Clang look like any other Clang by intercepting the output of -### and redirecting the (impossible in the Wasm sandbox) linker subprocess call. To use it, open a shell on a Linux machine with CMake, cURL, git, Python 3, and Wasmtime installed, and run: $ git clone https://github.com/YoWASP/clang yowasp-clang $ cd yowasp-clang $ ./build.sh ... wait about one hour... $ cat >te...