runtime
runtime copied to clipboard
Use System.Runtime.InteropServices.RuntimeInformation for checking architecture in Test
Currently we use environment variable to check target architecture. For instance: https://github.com/dotnet/coreclr/blob/master/tests/src/JIT/Directed/intrinsic/pow/pow1.cs#L25-L26 When this API is fully functional for all targets/platforms, we should use it instead for cross-platforms.
When this API is fully functional for all targets/platforms, we should use it instead for cross-platforms.
What "targets/platforms" is it missing?
As commented here https://github.com/dotnet/coreclr/pull/3429, when I tried it for ARM64/Windows, I got null object.
stale; closing