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", ]