dotnet / corert

This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
http://dot.net
MIT License
2.91k stars 508 forks source link

Wasm: Add hard coded mappings for mono js interop compatibility #8306

Closed yowl closed 4 years ago

yowl commented 4 years ago

This PR provides hard coded mappings to a new assembly to enable CoreRT to be a drop in replacement regards the JS interop for mono based frameworks. It follow the discussion at https://github.com/dotnet/corert/issues/8303

So far I've just tried to bring up Uno (https://github.com/unoplatform/uno) and this is one of the blockers. I've added a new project to provide an implementation for the mappings, but maybe that would be better outside of CoreRT, in another GitHub repo, and just some instructions added to the docs? Because I'm not sure what direction is best for that, I've not attempted to package this new assembly into nuget.

closes: #8303