-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Add support for NetBSD/riscv64 aka. riscv64gc-unknown-netbsd. #113356
Conversation
r? @oli-obk (rustbot has picked a reviewer for you, use r? to override) |
These commits modify compiler targets. This PR changes how LLVM is built. Consider updating src/bootstrap/download-ci-llvm-stamp. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
Please check that all steps of https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html#adding-a-new-target have been performed
This comment has been minimized.
This comment has been minimized.
As for the tier 3 target policy:
I beleive that is clear as submitted in the platform-support/netbsd.md file.
I beleive this is the case in this instance; the naming is consistent with other uses.
I can't see that these changes introduce confusion or ambiguity.
Check.
I don't think this is an issue here, only open source tools are used to build the target.
I beleive the changes do not introduce any such incompatibilities.
Understood.
There are no new dependencies introduced here.
As stated above, the build only depends on open-source tools.
There are no such terms present.
This does not apply to me as a submitter if I understand correctly.
I don't think this applies to me...
The general NetBSD rust information contains information about how to cross-build for this target. At present testing has been minimal, but sufficient to complete the build of the
Understood.
Understood.
I do not think this breaks any other targets.
I do not think this change introduces any such problems. |
Thank you. This looks ready, after running rustfmt, please squash your commits into the first one |
I'm sorry, my newbie-ness comes through here... I think I managed to squash the commits on the branch in my checked-out copy, but getting that pushed to github looks difficult; it just says "Everything up-to-date". Don't you have the ability to squash&merge at your end? And ... |
The way we run rustfmt is via the I'm not sure what your local state is, but you can use |
I think I managed to figure out the steps to do to push the squash of the 4 commits, the key was "git push --force", instead of first doing "git pull -r" which the message from "git push" mislead me to think should be done. |
Great! @bors r+ rollup |
…mpiler-errors Rollup of 8 pull requests Successful merges: - rust-lang#113010 (rust-installer & rls: remove exclusion from rustfmt & tidy ) - rust-lang#113317 ( -Ztrait-solver=next: stop depending on old solver) - rust-lang#113319 (`TypeParameterDefinition` always require a `DefId`) - rust-lang#113320 (Add some extra information to opaque type cycle errors) - rust-lang#113321 (Move `ty::ConstKind` to `rustc_type_ir`) - rust-lang#113337 (Winnow specialized impls during selection in new solver) - rust-lang#113355 (Move most coverage code out of `rustc_codegen_ssa`) - rust-lang#113356 (Add support for NetBSD/riscv64 aka. riscv64gc-unknown-netbsd.) r? `@ghost` `@rustbot` modify labels: rollup
No description provided.