Skip to content

aarch64-pc-windows-gnullvm is now tier 2 #5

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

Merged
merged 3 commits into from
Jul 26, 2025

Conversation

yutannihilation
Copy link
Contributor

@yutannihilation yutannihilation commented Jul 25, 2025

@jeroen
Copy link
Member

jeroen commented Jul 26, 2025

Does this means it can be installed with rustup?

@yutannihilation
Copy link
Contributor Author

Yes, target can be added via rustup, but toolchain is not yet available (I forget when, but probably Rust 1.89 or 1.90?).

❯ rustup target add aarch64-pc-windows-gnullvm
info: downloading component 'rust-std' for 'aarch64-pc-windows-gnullvm'
info: installing component 'rust-std' for 'aarch64-pc-windows-gnullvm'

Sorry, the URL I wrote is beta, not stable.

@yutannihilation
Copy link
Contributor Author

In Rust 1.89, aarch64-pc-windows-gnullvm target has host tools.

rust-lang/rust#140772

A bit off topic; since there's no maintainer on *-gnu-windows targets, I'm afraid x86_64-pc-windows-gnu will be also demoted to tier 2 sooner or later. So, I think we might need to replace x86_64-pc-windows-gnu with x86_64-pc-windows-gnullvm at some point (or gccrs will be added to Rtools...?).

https://blog.rust-lang.org/2025/05/26/demoting-i686-pc-windows-gnu/

@jeroen jeroen merged commit c11a755 into r-rust:main Jul 26, 2025
@yutannihilation
Copy link
Contributor Author

Thanks for merging!

@yutannihilation yutannihilation deleted the yutannihilation-patch-1 branch July 26, 2025 08:33
@jeroen
Copy link
Member

jeroen commented Jul 26, 2025

Thanks for updating us :)

A bit off topic; since there's no maintainer on *-gnu-windows targets, I'm afraid x86_64-pc-windows-gnu will be also demoted to tier 2 sooner or later. So, I think we might need to replace x86_64-pc-windows-gnu with x86_64-pc-windows-gnullvm at some point (or gccrs will be added to Rtools...?).

I'm skeptical R will ever see gccrs in Rtools, but perhaps they could switch Rtools to the llvm toolchains alltogether at some point, that would solve many problems. But I think last time @kalibera said the Flang compiler was not good enough yet.

Relatedly, other major projects like libv8 are also starting to drop gcc support: JanMarvin/v8-R#16, so llvm is definitely a safer bet going forward.

@yutannihilation
Copy link
Contributor Author

Yeah, I agree LLVM is safer. Probably, R needs to keep using LLVM for ARM macOS anyway, so I think it's reasonable to use it for Windows unless LLVM is very poor at supporting Windows.

@mati865
Copy link

mati865 commented Jul 28, 2025

A bit off topic; since there's no maintainer on *-gnu-windows targets, I'm afraid x86_64-pc-windows-gnu will be also demoted to tier 2 sooner or later. So, I think we might need to replace x86_64-pc-windows-gnu with x86_64-pc-windows-gnullvm at some point (or gccrs will be added to Rtools...?).

blog.rust-lang.org/2025/05/26/demoting-i686-pc-windows-gnu

FYI I can co-maintain windows-gnu but I don't want to be the only maintainer for something I don't even use.

@yutannihilation
Copy link
Contributor Author

I don't want to be the only maintainer for something I don't even use.

I get you. I really wish *-pc-windows-gnullvm will success and eventually supersede *-pc-windows-gnu.

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.

3 participants