In the discussion about the new Unix hosting APIs (#1234), an interesting idea to expose the unix hosting API on windows was suggested. It would allow cross platform hosts using the same API on all platforms.
Since there was an agreement that it is a good thing to do, we should expose the API on Windows too.
It seems that just renaming the unixinterface.cpp, adding it to the sources built for windows and adding the new function names to the src\dlls\mscoree\mscorwks_ntdef.src file under the FEATURE_CORECLR ifdef should be enough.
In the discussion about the new Unix hosting APIs (#1234), an interesting idea to expose the unix hosting API on windows was suggested. It would allow cross platform hosts using the same API on all platforms.
Since there was an agreement that it is a good thing to do, we should expose the API on Windows too.
It seems that just renaming the unixinterface.cpp, adding it to the sources built for windows and adding the new function names to the src\dlls\mscoree\mscorwks_ntdef.src file under the FEATURE_CORECLR ifdef should be enough.