microsoft / windows-rs

Rust for Windows
https://kennykerr.ca/rust-getting-started/
Apache License 2.0
10.13k stars 473 forks source link

Support ARM64EC? #3075

Closed Berrysoft closed 1 month ago

Berrysoft commented 1 month ago

Suggestion

Rust starts to support ARM64EC:

https://doc.rust-lang.org/stable/rustc/platform-support/arm64ec-pc-windows-msvc.html

Currently windows-sys is lacking some structs like WSADATA when targeting arm64ec.

ChrisDenton commented 1 month ago

Support for ARM64EC was added in https://github.com/microsoft/windows-rs/pull/2957 but a new version of windows-sys has not yet been released to crates.io.

sivadeilra commented 1 month ago

Yes, we'll certainly get ARM64EC supported. Full credit to @dpaoliello for driving ARM64EC support in Rust and LLVM; either he or I will get this added to the windows-rs repo, Real Soon Now.

kennykerr commented 1 month ago

Note that this work is already done. It just hasn't been released to crates.io - as Chris noted above.

Please do give the latest windows-sys crate a test drive by taking a dependency on the git repo and let us know if you have any questions/issues.

https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories