Repository navigation
Publish the backtrace crate from rust-lang/rust - #2941
Merged
Merged
Conversation
Kobzol
requested review from
Mark-Simulacrum,
emilyalbini,
jdno,
marcoieni and
ubiratansoares
as code owners
November 11, 2026 09:10
Dry-run check results |
marcoieni
approved these changes
Nov 11, 2026
marcoieni
left a comment
Member
There was a problem hiding this comment.
This looks good. I left some comments in the companion PR.
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Nov 20, 2026
…bilee,jieyouxu Add CI workflow to publish backtrace after a push to main This PR implements crate publishing, which is required for rust-lang/backtrace-rs#778, and would be useful also for other use-cases in the future. To keep things simple, I reused the existing post-merge workflow, and implemented the publishing in bash. To make this work, we will also need to make changes in team: rust-lang/team#2941 I think that we could start by moving the publishing to `rust-lang/rust`, while still keeping the submodule, and test whether the publishing works as expected. Then we can get rid of the submodule and inline `backtrace` into `rust-lang/rust`. CC @workingjubilee I used a chatbot to generate the if condition line in bash (lol), and the `cargo metadata` command. r? jieyouxu
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Nov 20, 2026
…bilee,jieyouxu Add CI workflow to publish backtrace after a push to main This PR implements crate publishing, which is required for rust-lang/backtrace-rs#778, and would be useful also for other use-cases in the future. To keep things simple, I reused the existing post-merge workflow, and implemented the publishing in bash. To make this work, we will also need to make changes in team: rust-lang/team#2941 I think that we could start by moving the publishing to `rust-lang/rust`, while still keeping the submodule, and test whether the publishing works as expected. Then we can get rid of the submodule and inline `backtrace` into `rust-lang/rust`. CC @workingjubilee I used a chatbot to generate the if condition line in bash (lol), and the `cargo metadata` command. r? jieyouxu
rust-bors Bot
pushed a commit
to rust-lang/rust
that referenced
this pull request
Nov 20, 2026
Rollup merge of #165802 - Kobzol:publish-crates, r=workingjubilee,jieyouxu Add CI workflow to publish backtrace after a push to main This PR implements crate publishing, which is required for rust-lang/backtrace-rs#778, and would be useful also for other use-cases in the future. To keep things simple, I reused the existing post-merge workflow, and implemented the publishing in bash. To make this work, we will also need to make changes in team: rust-lang/team#2941 I think that we could start by moving the publishing to `rust-lang/rust`, while still keeping the submodule, and test whether the publishing works as expected. Then we can get rid of the submodule and inline `backtrace` into `rust-lang/rust`. CC @workingjubilee I used a chatbot to generate the if condition line in bash (lol), and the `cargo metadata` command. r? jieyouxu
folkertdev
pushed a commit
to folkertdev/stdarch
that referenced
this pull request
Nov 22, 2026
…youxu Add CI workflow to publish backtrace after a push to main This PR implements crate publishing, which is required for rust-lang/backtrace-rs#778, and would be useful also for other use-cases in the future. To keep things simple, I reused the existing post-merge workflow, and implemented the publishing in bash. To make this work, we will also need to make changes in team: rust-lang/team#2941 I think that we could start by moving the publishing to `rust-lang/rust`, while still keeping the submodule, and test whether the publishing works as expected. Then we can get rid of the submodule and inline `backtrace` into `rust-lang/rust`. CC @workingjubilee I used a chatbot to generate the if condition line in bash (lol), and the `cargo metadata` command. r? jieyouxu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Required for rust-lang/backtrace-rs#778.
Companion PR: rust-lang/rust#165802