Skip to content

Update backtrace #7295

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Update backtrace #7295

wants to merge 1 commit into from

Conversation

LegNeato
Copy link

@LegNeato LegNeato commented May 1, 2025

This is needed as the old version of backtrace uses an old version of object, duplicating deps in my project.

This version of backtrace has a MSRV of 1.65, which is lower than tokio.

This is needed as the old versin of backtrace uses an old
version of object, duplicating deps in my project.

This version of backtrace has a MSRV of 1.65, which is lower than
tokio.
@@ -106,7 +106,7 @@ tracing = { version = "0.1.29", default-features = false, features = ["std"], op
# Currently unstable. The API exposed by these features may be broken at any time.
# Requires `--cfg tokio_unstable` to enable.
[target.'cfg(tokio_taskdump)'.dependencies]
backtrace = { version = "0.3.58" }
backtrace = { version = "0.3.74" }
Copy link
Contributor

@Darksonn Darksonn May 1, 2025

Choose a reason for hiding this comment

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

Tokio is already compatible with 0.3.74 with the current dependency specification. Why do we need to increase the minimum required version? I think you just need to update the lockfile in rust-gpu.

Copy link
Author

Choose a reason for hiding this comment

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

That's a good question. I am tracking down why rustc includes 2 incompatible versions of object, and the old version of object is coming from crates that rely on backtrace < 0.3.74. There are three: anyhow, tokio, and eyer. It looks like it is eyer that is making it resolve to 0.3.71. I can close this.

@Darksonn Darksonn added A-tokio Area: The main tokio crate M-taskdump --cfg tokio_taskdump labels May 1, 2025
@LegNeato LegNeato closed this May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-taskdump --cfg tokio_taskdump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants