The WASM architecture wasn't added there since we already hardcode the architecture to wasm in the managed layer.
For consistency we should still define it in the PAL though and address the TODO comment.
Also added a test that verifies we indeed get the correct wasm architecture on the Browser platform.
* Set emcc as the compiler for libraries build
* Add default subsets for webassembly build
* Fix various problems in the build
* Use WebAssembly Docker image
* Use Mono runtime for webassembly builds
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
* Rename .cpp to .c
* Convert System.Native to C
* Address feedback
Commit migrated from https://github.com/dotnet/corefx/commit/9f00f554483802a1ac295ad6260557fb125e0b31