Use single-threaded builds in tests

This commit is contained in:
Richard Feldman 2022-05-04 17:06:02 -04:00
parent 593d634455
commit dd460fb818
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
15 changed files with 51 additions and 14 deletions

View file

@ -7,7 +7,7 @@ use clap::Command;
use clap::{Arg, ArgMatches};
use roc_build::link::LinkType;
use roc_error_macros::user_error;
use roc_load::LoadingProblem;
use roc_load::{LoadingProblem, Threading};
use roc_mono::ir::OptLevel;
use std::env;
use std::io;
@ -386,6 +386,7 @@ pub fn build(matches: &ArgMatches, config: BuildConfig) -> io::Result<i32> {
surgically_link,
precompiled,
target_valgrind,
Threading::Multi,
);
match res_binary_path {