don't use max-threads on windows

This commit is contained in:
Folkert 2022-10-30 12:52:44 +01:00
parent ef9f2a4bdc
commit f91e358aff
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -157,7 +157,10 @@ mod cli_run {
let flags = {
let mut vec = flags.to_vec();
vec.push("--max-threads=1");
// max-threads segfaults on windows right now
if !cfg!(windows) {
vec.push("--max-threads=1");
}
vec.into_iter()
};