-
Notifications
You must be signed in to change notification settings - Fork 63
Add support for Arm64EC and testing for Arm64 Windows #129
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
Conversation
036d9d3
to
ea4df65
Compare
ret | ||
ENDP | ||
|
||
END |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 #
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😭
[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", | ||
] | ||
|
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
arm64ec-pc-windows-msvc
.aarch64-pc-windows-msvc
).i686-pc-windows-msvc
on x64 Windows andarm64ec-pc-windows-msvc
on Arm64 Windows.