Skip to content

Commit 8f621a9

Browse files
committed
Fix build failure with minimal-versions
``` error[E0433]: failed to resolve: could not find `Builder` in `async_task` --> src/lib.rs:219:44 | 219 | let (runnable, task) = async_task::Builder::new().propagate_panic(true).spawn( | ^^^^^^^ could not find `Builder` in `async_task` | help: consider importing one of these structs | 87 + use crate::thread::Builder; | 87 + use std::thread::Builder; | help: if you import `Builder`, refer to it directly | 219 - let (runnable, task) = async_task::Builder::new().propagate_panic(true).spawn( 219 + let (runnable, task) = Builder::new().propagate_panic(true).spawn( | ```
1 parent 588b575 commit 8f621a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ exclude = ["/.*"]
1616

1717
[dependencies]
1818
async-channel = "2.0.0"
19-
async-task = "4.0.2"
19+
async-task = "4.4.0"
2020
futures-io = { version = "0.3.28", default-features = false, features = ["std"] }
2121
futures-lite = { version = "2.0.0", default-features = false }
2222
piper = "0.2.0"

0 commit comments

Comments
 (0)