Skip to content
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

Fix JoinHandle import issue by enabling 'rt' feature in Tokio #3502

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tahsintunan
Copy link

Description

This PR resolves the build failure in zksync_prover_job_processor caused by the following error:

error[E0432]: unresolved import tokio::task::JoinHandle
   --> crates/lib/prover_job_processor/src/job_runner.rs:1:5
    |
1   | use tokio::task::JoinHandle;
    |     ^^^^^^^^^^^^^^^^^^^^^^^ no JoinHandle in task

The error occurred because JoinHandle was gated behind the rt feature in Tokio, which was disabled. Enabling the feature resolves the import and fixes the build.

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

Successfully merging this pull request may close these issues.

1 participant