Fix/investigate usage of Windows file in non-windows CoreCLR builds.
This usage is suspicious. It is also non-conventional.
Recommend:
/cc @marek-safar @jkotas @danmosemsft @stephentoub @Anipik
See comments https://github.com/dotnet/runtime/pull/28819#discussion_r374680113
CoreCLR uses PAL layer that emulates Windows API on Unix. This is bridge for that PAL layer.
It would be nice to get rid of the CoreCLR Windows API emulating PAL layer and replace it something leaner (ideally written in C# as much as possible - we have some prior art for this in CoreRT).
We can use this issue to track elimination of the Windows PAL layer.
Most helpful comment
CoreCLR uses PAL layer that emulates Windows API on Unix. This is bridge for that PAL layer.
It would be nice to get rid of the CoreCLR Windows API emulating PAL layer and replace it something leaner (ideally written in C# as much as possible - we have some prior art for this in CoreRT).
We can use this issue to track elimination of the Windows PAL layer.