Skip to content
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

Support for aarch64-pc-windows-gnullvm #3297

Closed
mcandre opened this issue Mar 31, 2023 · 4 comments
Closed

Support for aarch64-pc-windows-gnullvm #3297

mcandre opened this issue Mar 31, 2023 · 4 comments
Labels
A-aarch64 ARM 64bit enhancement O-windows Windows related

Comments

@mcandre
Copy link

mcandre commented Mar 31, 2023

Problem you are trying to solve

Can we get target triples going to support Cygwin-style Rust applications for ARM Windows?

While we do technically have aarch64-pc-windows-msvc available, cross-compiling Windows Rust apps from non-Windows hosts is remarkably easier with the windows-gnu target triple variants. So a aarch-pc-windows-gnu target may be easier for many macOS/Linux/UNIX Rust devs to support than aarch64-pc-windows-msvc.

Solution you'd like

Introduce aarch-pc-windows-gnu to the set of available rustup targets, similar to the other windows-gnu targets.

Notes

No response

@ChrisDenton
Copy link
Member

I think that this would be an issue for the main rust repository. Rustup just distributes whatever prebuilt targets exist.

And if you look on the platform support page you'll see there's no aarch64-pc-windows-gnu target.

There is a new aarch64-pc-windows-gnullvm target (gnu with llvm linker and other tools) but that's currently tier 3 so the rust repository doesn't distribute builds. It would need to be promoted to tier 2 before that can happen.

@rami3l rami3l closed this as completed Jul 10, 2024
@rami3l rami3l reopened this Jul 10, 2024
@rami3l rami3l changed the title Support for aarch-pc-windows-gnu Support for aarch64-pc-windows-gnullvm Jul 10, 2024
@rami3l
Copy link
Member

rami3l commented Jul 10, 2024

Sorry, that was a misclick: https://doc.rust-lang.org/nightly/rustc/platform-support/pc-windows-gnullvm.html says it's now tier 2, but without host tools. We'll keep an eye on it.

@rami3l rami3l added O-windows Windows related A-aarch64 ARM 64bit labels Jul 10, 2024
@djc
Copy link
Contributor

djc commented Jul 10, 2024

IMO since this is not actionable from our side, closing it makes more sense to me -- it can be reopened (or we can work in a new issue) once host tools are available for the target.

@rami3l
Copy link
Member

rami3l commented Jul 10, 2024

IMO since this is not actionable from our side, closing it makes more sense to me -- it can be reopened (or we can work in a new issue) once host tools are available for the target.

Makes sense; will close it for now until rustc and friends say otherwise.

@rami3l rami3l closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-aarch64 ARM 64bit enhancement O-windows Windows related
Projects
None yet
Development

No branches or pull requests

4 participants