Merge pull request #3003 from rtfeldman/threading

Explicit single vs multithreading for build functions
This commit is contained in:
Richard Feldman 2022-05-06 15:07:33 -04:00 committed by GitHub
commit 281602d664
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 61 additions and 20 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;
@ -321,6 +321,7 @@ pub fn build(
surgically_link,
precompiled,
target_valgrind,
Threading::Multi,
);
match res_binary_path {