Skip to content

The dependencies of the backtrace crate in libstd are outdated. #104960

Description

@glandium

library/std/Cargo.toml contains:

addr2line = { version = "0.16.0", optional = true, default-features = false }
miniz_oxide = { version = "0.4.0", optional = true, default-features = false }

library/backtrace/Cargo.toml has:

addr2line = { version = "0.17.0", default-features = false }
miniz_oxide = { version = "0.5.0", default-features = false }

(and current master of the backtrace-rs repo has even different versions)

It seems to me backtrace should have its own rustc-dep-of-std feature, which would avoid libstd enabling the feature on stale dependencies.

It's worth noting that the dependencies in crates/as-if-std/Cargo.toml in backtrace-rs match what's currently in libstd, although I'm not sure what that's testing considering there is no dependency on the backtrace crate in there...

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.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