Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Removecompiler-builtins fromrustc-dep-of-std dependencies#77

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

tgross35
Copy link
Contributor

@tgross35tgross35 commentedJun 5, 2025
edited
Loading

Since1, this will come automatically fromrustc-std-workspace-core and the crates.io dependency should no longer be specified.

Since [1], this will come automatically from `rustc-std-workspace-core`and the crates.io dependency should no longer be specified.[1]:rust-lang/rust#141993
@tgross35
Copy link
ContributorAuthor

@Manishearth oncerust-lang/rust#141993 lands, would it be possible to merge this PR and do a patch release reasonably quick? Once that lands there will be a bit of a race between crates that depend oncompiler_builtins from crates.io and tools that need to patch it to the local version, so the shorter that time is the better.

@Manishearth
Copy link
Member

Sure

rust-borsbot added a commit to rust-lang/rust that referenced this pull requestJun 5, 2025
Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets. The remaining cover the rest:- `dlmalloc` (wasm, xous, sgx)alexcrichton/dlmalloc-rs#50- `gimli` (xous)- `r-efi`, `r-efi-alloc` (efi)- `fortanix-sgx-abi` (sgx)- `hermit-abi` (hermit)- `wasi` (wasi)try-job: dist-x86_64-linuxtry-job: x86_64-gnutry-job: x86_64-gnu-auxtry-job: test-various
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull requestJun 8, 2025
…jorn3Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets with no `std` features enabled. The remaining cover the rest:-alexcrichton/dlmalloc-rs#50 (wasm, xous, sgx)-gimli-rs/gimli#769-r-efi/r-efi#89 (efi)-r-efi/r-efi-alloc#9 (efi)-fortanix/rust-sgx#770 (sgx)-hermit-os/hermit-rs#718 (hermit)-bytecodealliance/wasi-rs#108 (wasi)-gimli-rs/addr2line#345-oyvindln/adler2#2-BurntSushi/memchr#180-Frommi/miniz_oxide#173-gimli-rs/object#777try-job: dist-x86_64-linuxtry-job: x86_64-gnutry-job: x86_64-gnu-auxtry-job: test-various
rust-borsbot added a commit to rust-lang/rust that referenced this pull requestJun 8, 2025
Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets with no `std` features enabled. The remaining cover the rest:-alexcrichton/dlmalloc-rs#50 (wasm, xous, sgx)-gimli-rs/gimli#769-r-efi/r-efi#89 (efi)-r-efi/r-efi-alloc#9 (efi)-fortanix/rust-sgx#770 (sgx)-hermit-os/hermit-rs#718 (hermit)-bytecodealliance/wasi-rs#108 (wasi)-gimli-rs/addr2line#345-oyvindln/adler2#2-BurntSushi/memchr#180-Frommi/miniz_oxide#173-gimli-rs/object#777try-job: dist-x86_64-linuxtry-job: x86_64-gnutry-job: x86_64-gnu-auxtry-job: test-varioustry-job: `*android*`
bors added a commit to rust-lang/rust that referenced this pull requestJun 8, 2025
Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets with no `std` features enabled. The remaining cover the rest:-alexcrichton/dlmalloc-rs#50 (wasm, xous, sgx)-gimli-rs/gimli#769-r-efi/r-efi#89 (efi)-r-efi/r-efi-alloc#9 (efi)-fortanix/rust-sgx#770 (sgx)-hermit-os/hermit-rs#718 (hermit)-bytecodealliance/wasi-rs#108 (wasi)-gimli-rs/addr2line#345-oyvindln/adler2#2-BurntSushi/memchr#180-Frommi/miniz_oxide#173-gimli-rs/object#777try-job: dist-x86_64-linuxtry-job: x86_64-gnutry-job: x86_64-gnu-auxtry-job: test-various
rust-borsbot added a commit to rust-lang/rust that referenced this pull requestJun 8, 2025
Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets with no `std` features enabled. The remaining cover the rest:-alexcrichton/dlmalloc-rs#50 (wasm, xous, sgx)-gimli-rs/gimli#769-r-efi/r-efi#89 (efi)-r-efi/r-efi-alloc#9 (efi)-fortanix/rust-sgx#770 (sgx)-hermit-os/hermit-rs#718 (hermit)-bytecodealliance/wasi-rs#108 (wasi)-gimli-rs/addr2line#345-oyvindln/adler2#2-BurntSushi/memchr#180-Frommi/miniz_oxide#173-gimli-rs/object#777try-job: x86_64-gnutry-job: test-varioustry-job: `*various*`
rust-borsbot added a commit to rust-lang/rust that referenced this pull requestJun 9, 2025
Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets with no `std` features enabled. The remaining cover the rest:-alexcrichton/dlmalloc-rs#50 (wasm, xous, sgx)-gimli-rs/gimli#769-r-efi/r-efi#89 (efi)-r-efi/r-efi-alloc#9 (efi)-fortanix/rust-sgx#770 (sgx)-hermit-os/hermit-rs#718 (hermit)-bytecodealliance/wasi-rs#108 (wasi)-gimli-rs/addr2line#345-oyvindln/adler2#2-BurntSushi/memchr#180-Frommi/miniz_oxide#173-gimli-rs/object#777try-job: x86_64-gnutry-job: test-varioustry-job: `*various*`
tgross35 added a commit to tgross35/rust that referenced this pull requestJun 9, 2025
…jorn3Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets with no `std` features enabled. The remaining cover the rest:-alexcrichton/dlmalloc-rs#50 (wasm, xous, sgx)-gimli-rs/gimli#769-r-efi/r-efi#89 (efi)-r-efi/r-efi-alloc#9 (efi)-fortanix/rust-sgx#770 (sgx)-hermit-os/hermit-rs#718 (hermit)-bytecodealliance/wasi-rs#108 (wasi)-gimli-rs/addr2line#345-oyvindln/adler2#2-BurntSushi/memchr#180-Frommi/miniz_oxide#173-gimli-rs/object#777try-job: x86_64-gnutry-job: test-various
rust-timer added a commit to rust-lang/rust that referenced this pull requestJun 9, 2025
Rollup merge of#141993 - tgross35:use-in-tree-builtins, r=bjorn3Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets with no `std` features enabled. The remaining cover the rest:-alexcrichton/dlmalloc-rs#50 (wasm, xous, sgx)-gimli-rs/gimli#769-r-efi/r-efi#89 (efi)-r-efi/r-efi-alloc#9 (efi)-fortanix/rust-sgx#770 (sgx)-hermit-os/hermit-rs#718 (hermit)-bytecodealliance/wasi-rs#108 (wasi)-gimli-rs/addr2line#345-oyvindln/adler2#2-BurntSushi/memchr#180-Frommi/miniz_oxide#173-gimli-rs/object#777try-job: x86_64-gnutry-job: test-various
@tgross35tgross35 marked this pull request as ready for reviewJune 9, 2025 21:30
@tgross35
Copy link
ContributorAuthor

The relevant PR merged so this should be ready to go.

tgross35 added a commit to tgross35/compiler-builtins that referenced this pull requestJun 9, 2025
Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets with no `std` features enabled. The remaining cover the rest:-alexcrichton/dlmalloc-rs#50 (wasm, xous, sgx)-gimli-rs/gimli#769-r-efi/r-efi#89 (efi)-r-efi/r-efi-alloc#9 (efi)-fortanix/rust-sgx#770 (sgx)-hermit-os/hermit-rs#718 (hermit)-bytecodealliance/wasi-rs#108 (wasi)-gimli-rs/addr2line#345-oyvindln/adler2#2-BurntSushi/memchr#180-Frommi/miniz_oxide#173-gimli-rs/object#777try-job: x86_64-gnutry-job: test-various
@ManishearthManishearth merged commit6db0c14 intounicode-rs:masterJun 9, 2025
3 checks passed
@Manishearth
Copy link
Member

Published

@tgross35tgross35 deleted the remove-compiler-builtins branchJune 9, 2025 22:27
@tgross35
Copy link
ContributorAuthor

Thank you!

github-actionsbot pushed a commit to rust-lang/miri that referenced this pull requestJun 10, 2025
Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets with no `std` features enabled. The remaining cover the rest:-alexcrichton/dlmalloc-rs#50 (wasm, xous, sgx)-gimli-rs/gimli#769-r-efi/r-efi#89 (efi)-r-efi/r-efi-alloc#9 (efi)-fortanix/rust-sgx#770 (sgx)-hermit-os/hermit-rs#718 (hermit)-bytecodealliance/wasi-rs#108 (wasi)-gimli-rs/addr2line#345-oyvindln/adler2#2-BurntSushi/memchr#180-Frommi/miniz_oxide#173-gimli-rs/object#777try-job: x86_64-gnutry-job: test-various
tautschnig pushed a commit to model-checking/verify-rust-std that referenced this pull requestJun 17, 2025
…jorn3Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets with no `std` features enabled. The remaining cover the rest:-alexcrichton/dlmalloc-rs#50 (wasm, xous, sgx)-gimli-rs/gimli#769-r-efi/r-efi#89 (efi)-r-efi/r-efi-alloc#9 (efi)-fortanix/rust-sgx#770 (sgx)-hermit-os/hermit-rs#718 (hermit)-bytecodealliance/wasi-rs#108 (wasi)-gimli-rs/addr2line#345-oyvindln/adler2#2-BurntSushi/memchr#180-Frommi/miniz_oxide#173-gimli-rs/object#777try-job: x86_64-gnutry-job: test-various
antoyo pushed a commit to rust-lang/rustc_codegen_gcc that referenced this pull requestJun 28, 2025
Use the in-tree `compiler-builtins` for the sysrootMany of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead.`compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.Zulip discussion: [#t-compiler > Using in-tree compiler-builtins](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/Using.20in-tree.20compiler-builtins/with/522445336)Once this merges, the following PRs will need to make it to a release for the relevant crates:-rust-lang/getopts#119 (can merge at any time)-rust-lang/hashbrown#625 (can merge at any time)-rust-lang/stdarch#1825-rust-lang/rustc-demangle#80-rust-lang/cfg-if#84-unicode-rs/unicode-width#77The above should cover all tier 1 targets with no `std` features enabled. The remaining cover the rest:-alexcrichton/dlmalloc-rs#50 (wasm, xous, sgx)-gimli-rs/gimli#769-r-efi/r-efi#89 (efi)-r-efi/r-efi-alloc#9 (efi)-fortanix/rust-sgx#770 (sgx)-hermit-os/hermit-rs#718 (hermit)-bytecodealliance/wasi-rs#108 (wasi)-gimli-rs/addr2line#345-oyvindln/adler2#2-BurntSushi/memchr#180-Frommi/miniz_oxide#173-gimli-rs/object#777try-job: x86_64-gnutry-job: test-various
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@tgross35@Manishearth

[8]ページ先頭

©2009-2025 Movatter.jp