mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
parent
95bfc3b342
commit
ae998e2504
7 changed files with 2 additions and 30 deletions
|
@ -26,7 +26,6 @@ bumpalo = { version = "3.8.0", features = ["collections"] }
|
|||
parking_lot = { version = "0.11.2" }
|
||||
crossbeam = "0.8.1"
|
||||
num_cpus = "1.13.0"
|
||||
wasm-bindgen = "0.2.79"
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.2.0"
|
||||
|
|
|
@ -755,7 +755,6 @@ enum BuildTask<'a> {
|
|||
},
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
enum WorkerMsg {
|
||||
Shutdown,
|
||||
TaskAdded,
|
||||
|
@ -1404,8 +1403,7 @@ fn worker_task_step<'a>(
|
|||
src_dir: &Path,
|
||||
target_info: TargetInfo,
|
||||
) -> Result<ControlFlow<(), ()>, LoadingProblem<'a>> {
|
||||
let recv = worker_msg_rx.try_recv();
|
||||
match recv {
|
||||
match worker_msg_rx.try_recv() {
|
||||
Ok(msg) => {
|
||||
match msg {
|
||||
WorkerMsg::Shutdown => {
|
||||
|
|
|
@ -14,7 +14,6 @@ roc_can = { path = "../can" }
|
|||
roc_unify = { path = "../unify" }
|
||||
arrayvec = "0.7.2"
|
||||
bumpalo = { version = "3.8.0", features = ["collections"] }
|
||||
wasm-bindgen = "0.2.79"
|
||||
|
||||
[dev-dependencies]
|
||||
roc_load = { path = "../load" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue