Skip to content

Conversation

@mattiapitossi
Copy link
Contributor

Motivation

As a follow-up of #7669 I wanted to add a couple of tests to cover the panic error when using spawn_local on current and multi thread runtimes.

This does't seem to clash with the tests that are being introduced in #7609.

Solution

Add tests when using spawn_local on current_thread_runtime and multi_thread_runtime.

Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

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

Thanks.

@ADD-SP ADD-SP added C-maintenance Category: PRs that clean code up or issues documenting cleanup. A-tokio Area: The main tokio crate M-runtime Module: tokio/runtime labels Oct 15, 2025
@martin-g martin-g merged commit d23a838 into tokio-rs:master Oct 15, 2025
99 checks passed
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 C-maintenance Category: PRs that clean code up or issues documenting cleanup. M-runtime Module: tokio/runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants