Hacking the swift compiler to use the llvm wasm target

Hello,

I was playing a liitle bit with the Swift compiler to it could use the
WebAssembly LLVM backend, the same way Clang already do it right now.

Well, i've implemented the toolchain ok, but now its asking me for a
Sdk for the new toolchain.

My question is: How can i create a new runtime for this custom
toolchain i've created in a way the compiler understand is it there?

Of course i can spend more time hacking and findind that out.. but
maybe someone could give me some tips and spare me some trouble?

Thanks

1 Like