fix stray dbg limiting single Thread, causes stack overflow Windows

This commit is contained in:
Luke Boswell 2024-11-11 20:58:41 +11:00
parent def5372e1c
commit bc5e3f494e
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0

View file

@ -1467,7 +1467,6 @@ pub fn load<'a>(
Many(usize),
}
/*
let threads = {
if cfg!(target_family = "wasm") {
// When compiling to wasm, we cannot spawn extra threads
@ -1485,9 +1484,7 @@ pub fn load<'a>(
},
}
}
};*/
// TODO temp for debugging
let threads = Threads::Single;
};
match threads {
Threads::Single => load_single_threaded(