Skip to content

Conversation

dpaoliello
Copy link
Contributor

@dpaoliello dpaoliello commented Aug 19, 2025

  • Adds support for arm64ec-pc-windows-msvc.
  • Adds native testing for Arm64 Windows (aarch64-pc-windows-msvc).
  • Adds the ability to test additional targets during native testing and use this to test i686-pc-windows-msvc on x64 Windows and arm64ec-pc-windows-msvc on Arm64 Windows.

@dpaoliello dpaoliello force-pushed the arm64ec branch 5 times, most recently from 036d9d3 to ea4df65 Compare August 19, 2025 23:20
@dpaoliello dpaoliello marked this pull request as ready for review August 20, 2025 17:20
ret
ENDP

END
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the difference between this target and the aarch64-*-windows-*? The assembly looks identical and could use aarch64_armasm.asm, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Difference is the name of the functions: Arm64EC requires that functions are prefixed with #

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😭

Comment on lines +28 to +43
[target.'cfg(all(windows, not(target_arch = "arm64ec")))'.dependencies.windows-sys]
version = ">=0.52.0, <0.60.0"
features = [
"Win32_System_Memory",
"Win32_System_Threading",
"Win32_Foundation",
]

[target.arm64ec-pc-windows-msvc.dependencies.windows-sys]
version = ">=0.59.0, <0.60.0"
features = [
"Win32_System_Memory",
"Win32_System_Threading",
"Win32_Foundation",
]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not bump windows-sys dep accordingly for all windows targets?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with doing that, although I think that will be a semver breaking change. Let me know if that's what you prefer.

@dpaoliello dpaoliello requested a review from nagisa October 2, 2025 23:10
@nagisa nagisa merged commit c5b0f27 into rust-lang:master Oct 2, 2025
169 checks passed
@dpaoliello dpaoliello deleted the arm64ec branch October 6, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants