-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
tokio: use cargo feature for taskdump support instead of cfg #7655
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
tokio: use cargo feature for taskdump support instead of cfg #7655
Conversation
8380c3b
to
9a14d97
Compare
Signed-off-by: ADD-SP <[email protected]>
9a14d97
to
e4ba090
Compare
toolchain: ${{ matrix.rust }} | ||
# `check-external-types` requires a specific Rust nightly version. See | ||
# the README for details: https://github.com/awslabs/cargo-check-external-types | ||
toolchain: nightly-2025-08-06 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We bump the toolchain due to the MSRV of backtrace
crate.
Stderr: error: rustc 1.81.0-nightly is not supported by the following package:
[email protected] requires rustc 1.82.0
Either upgrade rustc or select compatible dependency versions with
`cargo update <name>@<current-ver> --precise <compatible-ver>`
where `<compatible-ver>` is the latest version supporting rustc 1.81.0-nightly
features: | ||
name: features ${{ matrix.name }} | ||
name: features exclude ${{ matrix.name }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strategy: | ||
matrix: | ||
target: | ||
- name: x86_64-unknown-haiku | ||
exclude_features: "taskdump" # taskdump is only available on Linux | ||
- name: armv7-sony-vita-newlibeabihf | ||
exclude_features: "process,signal,rt-process-signal,full" | ||
exclude_features: "process,signal,rt-process-signal,full,taskdump" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changed the matrix, and also changed the name of this job, we need to change the repo setting to unblock the CI.
See also https://github.com/tokio-rs/tokio/pull/7655/files#r2393408483.
close #5875