Skip to content

Publish the backtrace crate from rust-lang/rust - #2941

Merged
marcoieni merged 1 commit into
rust-lang:mainfrom
Kobzol:backtrace-publish
Nov 20, 2026
Merged

marcoieni merged 1 commit into
rust-lang:mainfrom
Kobzol:backtrace-publish

Conversation

@Kobzol

@Kobzol Kobzol commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

@github-actions

Copy link
Copy Markdown
Dry-run check results

[WARN  rust_team::sync] sync-team is running in dry mode, no changes will be applied.
[INFO  rust_team::sync] synchronizing crates-io
[INFO  rust_team::sync] synchronizing github
[INFO  rust_team::sync] Rate limits before: REST 15000/15000 remaining, resets at 2026-11-11 10:14:50 UTC, GraphQL 12500/12500 remaining, resets at 2026-11-11 10:14:50 UTC
[INFO  rust_team::sync] 💻 Repo Diffs:
    📝 Editing repo 'rust-lang/backtrace-rs':
      Environments:
        ❌ Delete: publish
    📝 Editing repo 'rust-lang/rust':
      Environments:
        ➕ Create: publish-crates-io
            Branches: main

[INFO rust_team::sync] Rate limits after: REST 14011/15000 remaining, resets at 2026-11-11 10:15:00 UTC, GraphQL 12399/12500 remaining, resets at 2026-11-11 10:14:50 UTC
[INFO rust_team::sync] Consumed 989 REST calls and 101 GraphQL calls

@marcoieni marcoieni self-assigned this Nov 11, 2026

@marcoieni marcoieni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
@marcoieni
marcoieni added this pull request to the merge queue Nov 20, 2026
Merged via the queue into rust-lang:main with commit a9ba9b4 Nov 20, 2026
5 checks passed
@Kobzol
Kobzol deleted the backtrace-publish branch November 20, 2026 09:46
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants