-
Notifications
You must be signed in to change notification settings - Fork 69
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
Promote tier 3 *-pc-windows-gnullvm
targets to tier 2
#710
Comments
This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed. Concerns or objections to the proposal should be discussed on Zulip and formally registered here by adding a comment with the following syntax:
Concerns can be lifted with:
See documentation at https://forge.rust-lang.org cc @rust-lang/compiler @rust-lang/compiler-contributors |
@rustbot second |
While this would be an interesting alternative in theory and the project is active, related curl activity seems low and my recent attempt failed hard when trying to (cross-)build it. This may have been entirely my own fault/ignorance, and I did see similar happen with other Rust projects, I don't see any reasonable way out. Short of having the stamina and free time to spend weeks or months to crack it, for now I delete any plans to use rustls with curl-for-win builds. Focusing instead on switching to either LibreSSL or BoringSSL.
@rustbot label -final-comment-period +major-change-accepted |
…llvm, r=Mark-Simulacrum Provide prebuilt std for gnullvm targets Revival of rust-lang#114346 which waiting on MCP that was accepted recently: rust-lang/compiler-team#710 (comment)
…ark-Simulacrum Provide prebuilt std for gnullvm targets Revival of rust-lang/rust#114346 which waiting on MCP that was accepted recently: rust-lang/compiler-team#710 (comment)
…ark-Simulacrum Provide prebuilt std for gnullvm targets Revival of rust-lang/rust#114346 which waiting on MCP that was accepted recently: rust-lang/compiler-team#710 (comment)
Proposal
Promote
aarch64-pc-windows-gnullvm
,i686-pc-windows-gnullvm
andx86_64-pc-windows-gnullvm
targets to tier 2.AArch64 and x86_64 targets were initially added in rust-lang/rust#94872 and gradually improved in subsequent pull requests. Recently i686 target has been also added in rust-lang/rust#115687, it has been skipped initially because it used to require patched LLVM.
There are users of MSYS2 and and llvm-mingw projects interested in having Rust targets that work well with LLVM toolchains. I assume more folks would also be interested in open source Windows targets with following features:
windows-gnu
issues (like https://github.com/rust-lang/rust/blob/3223b0b5e8dadda3f76c3fd1a8d6c5addc09599e/compiler/rustc_target/src/spec/windows_gnu_base.rs#L78 and https://github.com/rust-lang/rust/blob/3223b0b5e8dadda3f76c3fd1a8d6c5addc09599e/compiler/rustc_codegen_llvm/src/back/archive.rs#L152)I'm the only maintainer currently but @thomcc have expressed their willingness to step up as the second maintainer if necessary.
These targets are very similar to tier 1
-pc-windows-gnu
targets but use slightly different ABI and boast more features. Their maintenance should be very similar, except it's actually easier to obtain a working LLVM based C/C++ toolchain.Cross compilation and testing are explained on the targets page.
These targets follow the same requirements as other Windows targets with corresponding CPU.
It does not differ from tier 1 Windows targets in this regard.
I'm not aware of such issues, in fact these targets are free from thread local issues that affect tier 1
*-windows-gnu
targets: rust-lang/rust#100917It does not differ from tier 1 Windows targets in this regard.
It builds reliably on my PC, it has to be accepted as tier 2 before it can be tested on the CI.
I don't think Rust's build system allows to run such tests when cross-compiling but it can be tested using nightly with
-Z build-std
.Building only std should be as fast as for the other targets using
dist-various
builder. Providing host tools would be a bit faster thandist-mingw
builders but I doubt it's justified right now.This is fully supported.
They share C library with tier 1 Windows targets and pair it with more liberal LLVM tools.
Agreed.
Agreed once its accepted and becomes testable without obscure hacks.
They are tier 3 targets already.
Mentors or Reviewers
If you have a reviewer or mentor in mind for this work, mention them
here. You can put your own name here if you are planning to mentor the
work.
Process
The main points of the Major Change Process are as follows:
@rustbot second
.-C flag
, then full team check-off is required.@rfcbot fcp merge
on either the MCP or the PR.You can read more about Major Change Proposals on forge.
Comments
This issue is not meant to be used for technical discussion. There is a Zulip stream for that. Use this issue to leave procedural comments, such as volunteering to review, indicating that you second the proposal (or third, etc), or raising a concern that you would like to be addressed.
The text was updated successfully, but these errors were encountered: