chocolatey / chocolatey/choco

ARM64 now has x64 emulation

Open
#2,172 6 comments 3 reactions 0 assignees View on GitHub
0 - Triaging Enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.