From 02c8ba00ef8c3e0f526ed4d4cbce5d1dad4607bb Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Wed, 13 Dec 2023 19:09:45 -0600 Subject: [PATCH] install: set jobs=1 if --raw --- src/toolset/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/toolset/mod.rs b/src/toolset/mod.rs index 9df0253111..19ab621e39 100644 --- a/src/toolset/mod.rs +++ b/src/toolset/mod.rs @@ -133,7 +133,10 @@ impl Toolset { } } let queue = Arc::new(Mutex::new(queue)); - let jobs = opts.jobs.unwrap_or(config.settings.jobs); + let jobs = match opts.raw { + true => 1, + false => opts.jobs.unwrap_or(config.settings.jobs), + }; thread::scope(|s| { (0..jobs) .map(|_| {