-
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
added support for GNU/Hurd on x86_64 #128345
Conversation
These commits modify compiler targets. Some changes occurred in src/doc/rustc/src/platform-support cc @Nilstrieb |
Concerning the Tier 3 target policy, the answers are essentially the same as on #115230 : I'll be maintainer, the triplet is the same as in llvm: x86_64-unknown-hurd-gnu, this is essentially the 64bit version of the existing i686-unknown-hurd-gnu target. |
Is anything missing on this? |
@sthibaul Since there wasn't a MCP for adding this target (not required for Tier 3) and #115230 (comment) was strictly speaking only for |
Ok, here it is:
We added myself as target maintainer.
We used the same target named as used in llvm: x86_64-unknown-hurd-gnu
GNU tools use x86_64-unknown-gnu and that indeed sometimes bring confusion, that's why we used the llvm triplet.
That's alright here.
The target legal terms are basically like the Linux ecosystem.
Agreed.
GNU/Hurd uses the GNU toolchain, like Linux.
The whole point of the GNU project is exactly that :)
This is the same situation as linux, since we use the GNU toolchain and libc.
That is also the kind of goals of the GNU project :)
We do have core/alloc/std.
The documentation was added. Running tests can be done in a qemu VM for instance, pre-built installed images are available.
Ok, sure!
We believe our additions didn't break anything, and we will watch CI anyway.
Sure!
Ok! |
@rustbot review |
I'm not a GNU/Hurd user but the target spec looks reasonable to me (it's very similar to it's linux counterpart anyway). @bors r+ rollup |
added support for GNU/Hurd on x86_64
added support for GNU/Hurd on x86_64
@bors r- |
@workingjubilee I'm not sure how the rebase will help, but done so @rustbot review |
This comment has been minimized.
This comment has been minimized.
Ah, sorry, I had assumed that a mingw profile build would have been unrelated. I see, now fixed. |
@sthibaul Ah, mingw-check happens to, for various reasons, fail first if anything is generally incorrect with the Rust source. In this case you simply slid behind a commit that made applying the diff not pass anymore (because it applied a lint that your code didn't pass). |
@bors r+ |
Hrm, |
@bors r=Urgau |
added support for GNU/Hurd on x86_64
added support for GNU/Hurd on x86_64
…kingjubilee Rollup of 16 pull requests Successful merges: - rust-lang#119229 (Update mingw-w64 + GNU toolchain) - rust-lang#128345 (added support for GNU/Hurd on x86_64) - rust-lang#128667 (rustdoc: normalise type/field names) - rust-lang#128939 (Distribute rustc_codegen_cranelift for Windows) - rust-lang#129529 (Add test to build crates used by r-a on stable) - rust-lang#129624 (Adjust `memchr` pinning and run `cargo update`) - rust-lang#129876 (Use sysroot crates maximally in `rustc_codegen_gcc`.) - rust-lang#130034 ( Fix enabling wasm-component-ld to match other tools ) - rust-lang#130048 (run-make-support: Add llvm-pdbutil) - rust-lang#130068 (Test codegen when setting deployment target) - rust-lang#130070 (Rename variant `AddrOfRegion` of `RegionVariableOrigin` to `BorrowRegion`) - rust-lang#130087 (remove 'const' from 'Option::iter') - rust-lang#130090 (make Result::copied unstably const) - rust-lang#130092 (Fixes typo in wasm32-wasip2 doc comment) - rust-lang#130107 (const: make ptr.is_null() stop execution on ambiguity) - rust-lang#130115 (Remove needless returns detected by clippy in libraries) r? `@ghost` `@rustbot` modify labels: rollup
…kingjubilee Rollup of 14 pull requests Successful merges: - rust-lang#119229 (Update mingw-w64 + GNU toolchain) - rust-lang#128345 (added support for GNU/Hurd on x86_64) - rust-lang#128667 (rustdoc: normalise type/field names) - rust-lang#129876 (Use sysroot crates maximally in `rustc_codegen_gcc`.) - rust-lang#130034 ( Fix enabling wasm-component-ld to match other tools ) - rust-lang#130048 (run-make-support: Add llvm-pdbutil) - rust-lang#130068 (Test codegen when setting deployment target) - rust-lang#130070 (Rename variant `AddrOfRegion` of `RegionVariableOrigin` to `BorrowRegion`) - rust-lang#130087 (remove 'const' from 'Option::iter') - rust-lang#130090 (make Result::copied unstably const) - rust-lang#130092 (Fixes typo in wasm32-wasip2 doc comment) - rust-lang#130107 (const: make ptr.is_null() stop execution on ambiguity) - rust-lang#130115 (Remove needless returns detected by clippy in libraries) - rust-lang#130130 (Miri subtree update) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#128345 - sthibaul:hurd-amd64, r=Urgau added support for GNU/Hurd on x86_64
No description provided.