Skip to content

Conversation

ADD-SP
Copy link
Member

@ADD-SP ADD-SP commented Sep 30, 2025

close #5875

@github-actions github-actions bot added R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR R-loom-sync Run loom sync tests on this PR labels Sep 30, 2025
@ADD-SP ADD-SP force-pushed the add_sp/runtime-taskdump-cargo-feature branch 15 times, most recently from 8380c3b to 9a14d97 Compare October 1, 2025 03:33
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
@ADD-SP ADD-SP force-pushed the add_sp/runtime-taskdump-cargo-feature branch from 9a14d97 to e4ba090 Compare October 1, 2025 03:51
@ADD-SP ADD-SP marked this pull request as ready for review October 1, 2025 04:05
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
Copy link
Member Author

@ADD-SP ADD-SP Oct 1, 2025

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:
  backtrace@0.3.76 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

@ADD-SP ADD-SP added A-ci Area: The continuous integration setup A-tokio Area: The main tokio crate and removed R-loom-sync Run loom sync tests on this PR R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR labels Oct 1, 2025
@ADD-SP ADD-SP changed the title runtime: use cargo feature for taskdump instead of cfg tokio: use cargo feature for taskdump instead of cfg Oct 1, 2025
Comment on lines 737 to +738
features:
name: features ${{ matrix.name }}
name: features exclude ${{ matrix.name }}
Copy link
Member Author

Choose a reason for hiding this comment

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

This changed the name of this job, we need to update the repo setting to unblock the CI.

Comment on lines +510 to +516
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"
Copy link
Member Author

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.

Comment on lines 438 to 453
run: cargo test --workspace --features $TOKIO_STABLE_FEATURES --target x86_64-unknown-linux-gnu --tests -- --test-threads 1 --nocapture
run: |
cargo test \
--workspace \
--features $TOKIO_STABLE_FEATURES \
--target x86_64-unknown-linux-gnu \
--tests \
-- \
--test-threads 1 \
--nocapture
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like there are a fair number of changes that don't actually change anything.

Copy link
Member Author

Choose a reason for hiding this comment

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

You are right, this is because of the very long command in a single line, which is hard to read.

Copy link
Member Author

Choose a reason for hiding this comment

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

I have reverted all unrelated changes

ADD-SP added 2 commits October 1, 2025 21:57
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
@github-actions github-actions bot added R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR R-loom-sync Run loom sync tests on this PR labels Oct 1, 2025
@ADD-SP ADD-SP removed R-loom-sync Run loom sync tests on this PR R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR labels Oct 1, 2025
@github-actions github-actions bot added R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR R-loom-sync Run loom sync tests on this PR labels Oct 1, 2025
@ADD-SP ADD-SP removed R-loom-sync Run loom sync tests on this PR R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR labels Oct 1, 2025
@github-actions github-actions bot added R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR R-loom-sync Run loom sync tests on this PR labels Oct 2, 2025
@ADD-SP ADD-SP removed R-loom-sync Run loom sync tests on this PR R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR labels Oct 2, 2025
@github-actions github-actions bot added R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR R-loom-sync Run loom sync tests on this PR labels Oct 5, 2025
@ADD-SP ADD-SP removed R-loom-sync Run loom sync tests on this PR R-loom-current-thread Run loom current-thread tests on this PR R-loom-multi-thread Run loom multi-thread tests on this PR labels Oct 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ci Area: The continuous integration setup A-tokio Area: The main tokio crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make backtrace dependency optional
2 participants