ARM64 now has x64 emulation
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 960
- PR merge metrics
- No merged PRs in 30d
Description
Microsoft has released x64 emulation for ARM64 in preview builds.
https://blogs.windows.com/windows-insider/2020/12/10/introducing-x64-emulation-in-preview-for-windows-10-on-arm-pcs-to-the-windows-insider-program/
Thus, it is no longer always correct for `Get-OSArchitectureWidth` to always return 32 bit on an ARM64 system.
https://github.com/chocolatey/choco/blob/f924d47fb4177a9a34ff0c2bf995938b5c12800b/src/chocolatey.resources/helpers/functions/Get-OSArchitectureWidth.ps1#L34-L37
Previous issue: #1800
Contributor guide
Research direction
Start with src/chocolatey.resources/helpers/functions/Get-OSArchitectureWidth.ps1 at the linked lines, then read previous issue #1800 for context on the existing behavior. Verify the helper's result for ARM64 systems with x64 emulation available, and confirm the relevant tests or validation cover the changed architecture cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 57/100