Skip to content

Remove crates.io compiler-builtins from the library workspace #142265

Closed

Description

@tgross35

After #141993 we should eliminate compiler-builtins from any crates that are depending on it via crates.io to remove the duplicate dependency so the patch isn't needed. Todo list, taken from the PR:

Updates in rust-lang/rust:

Activity

  1. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Jun 9, 2025
  2. added
    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.
    T-libsRelevant to the library team, which will review and decide on the PR/issue.
    A-compiler-builtinsArea: compiler-builtins (https://github.com/rust-lang/compiler-builtins)
    and removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Jun 9, 2025
  3. self-assigned this
    on Jun 9, 2025
  4. added a commit that references this issue on Jun 11, 2025
  5. added a commit that references this issue on Jun 11, 2025
  6. added a commit that references this issue on Jun 12, 2025
  7. 12 remaining items

  8. added 2 commits that reference this issue on Jun 19, 2025
  9. added a commit that references this issue on Jun 20, 2025
  10. added 2 commits that reference this issue on Jul 3, 2025
  11. tshepang commented on Aug 19, 2025

    @tshepang
    Member

    should this remain open

  12. bjorn3 commented on Aug 19, 2025

    @bjorn3
    Member

    I think the patch at

    compiler_builtins = { path = "compiler-builtins/compiler-builtins" }
    would need to be removed.

    Also there are still crates on crates.io that depend on compiler-builtins: https://crates.io/crates/compiler_builtins/reverse_dependencies But I don't think that necessarily needs to block closing this issue.

  13. tgross35 commented on Aug 19, 2025

    @tgross35
    MemberAuthor

    Yeah I was just waiting to remove the patch, with the recent unwinding release that should be possible now. I'll put up a PR.

    Edit: #145622

  14. lqd commented on Aug 20, 2025

    @lqd
    Member

    Fixed by #145622

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-compiler-builtinsArea: compiler-builtins (https://github.com/rust-lang/compiler-builtins)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions