Some of the compilers they use (msvc) are not open source and are not allowed to run in wasm.
And porting entire compiler toolchains to wasm would be a gargantuan task.
That would imply compiling each compiler to wasm, which might not be supported. Plus challenges like making a virtual file system to get the header files and other files needed for the compilation.
Edit: also, you couldn't execute the resulting binary