corert icon indicating copy to clipboard operation
corert copied to clipboard

Compile System.Private.CoreLib.Native for WebAssembly

Open morganbr opened this issue 9 years ago • 2 comments

Many of the features of System.Private.CoreLib will require compiling Native/System.Private.CoreLib.Native for WebAssembly using Emscripten. Most of the code appears to just use the C standard library, but some of it may need to be modified or ifdefed out for WebAssembly.

morganbr avatar Sep 15 '17 02:09 morganbr

This was a nice easy one, the only issue is that emscripten does not implement uuid_generate_random so uuid_generate has to be used instead. This still generates version 4 UUIDs.

Which this change, it compiles, but I have not tested anything beyond that.

ph1ll avatar Sep 27 '17 17:09 ph1ll

That's great to hear. We'll need to track the uuid generation issue, but there's certainly no need to block on it.

morganbr avatar Sep 27 '17 20:09 morganbr