Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osx-arm64 System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture #42130

Closed
sdmaclea opened this issue Sep 11, 2020 · 1 comment

Comments

@sdmaclea
Copy link
Contributor

When running w/ Rosetta emulation, System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture is returning the emulated Architecture as opposed to the actual architecture.

It is unclear whether this is the correct or incorrect behavior for this API. It is probably TBD.

@sdmaclea sdmaclea added this to the 6.0.0 milestone Sep 11, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Sep 11, 2020
@jeffschwMSFT jeffschwMSFT removed the untriaged New issue has not been triaged by the area owner label Sep 11, 2020
@jkotas
Copy link
Member

jkotas commented Sep 11, 2020

System.Runtime.InteropServices.RuntimeInformation.ProcessArchitecture is returning the emulated Architecture

This is correct behavior. E.g. if you run .NET Core ARM on Linux x64 under QEMU, this API returns ARM.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants