From a43c0a5a8242b31b0fbe70f529a410418185a0be Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 14 Nov 2023 16:42:21 -0800 Subject: [PATCH] do 8 threads --- .cargo/config.toml | 4 ++-- docker/cargo-config.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index a715dd88..9aff6422 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -9,7 +9,7 @@ rustflags = [ # uuid unstable is needed for zerocopy deserialize "--cfg", "uuid_unstable", # parallel build frontend - "-Z", "threads=0", + "-Z", "threads=8", ] rustdocflags = [ # potentially faster. https://github.com/aws/aws-graviton-getting-started/blob/main/rust.md @@ -21,7 +21,7 @@ rustdocflags = [ # uuid unstable is needed for zerocopy deserialize "--cfg", "uuid_unstable", # parallel build frontend - "-Z", "threads=0", + "-Z", "threads=8", ] [registries.crates-io] diff --git a/docker/cargo-config.toml b/docker/cargo-config.toml index d47d2e07..1ed51c0e 100644 --- a/docker/cargo-config.toml +++ b/docker/cargo-config.toml @@ -10,7 +10,7 @@ rustflags = [ # uuid unstable is needed for zerocopy deserialize "--cfg", "uuid_unstable", # parallel build frontend - "-Z", "threads=0", + "-Z", "threads=8", ] [target.aarch64-unknown-linux-gnu] @@ -27,5 +27,5 @@ rustflags = [ # uuid unstable is needed for zerocopy deserialize "--cfg", "uuid_unstable", # parallel build frontend - "-Z", "threads=0", + "-Z", "threads=8", ]