try parallel build frontend

This commit is contained in:
Bryan Stitt 2023-11-14 16:36:48 -08:00
parent a517001ed9
commit 1c4f9ade27
2 changed files with 8 additions and 0 deletions

@ -8,6 +8,8 @@ rustflags = [
"--cfg", "tokio_unstable", "--cfg", "tokio_unstable",
# uuid unstable is needed for zerocopy deserialize # uuid unstable is needed for zerocopy deserialize
"--cfg", "uuid_unstable", "--cfg", "uuid_unstable",
# parallel build frontend
"-Z", "threads=0",
] ]
rustdocflags = [ rustdocflags = [
# potentially faster. https://github.com/aws/aws-graviton-getting-started/blob/main/rust.md # potentially faster. https://github.com/aws/aws-graviton-getting-started/blob/main/rust.md
@ -18,6 +20,8 @@ rustdocflags = [
"--cfg", "tokio_unstable", "--cfg", "tokio_unstable",
# uuid unstable is needed for zerocopy deserialize # uuid unstable is needed for zerocopy deserialize
"--cfg", "uuid_unstable", "--cfg", "uuid_unstable",
# parallel build frontend
"-Z", "threads=0",
] ]
[registries.crates-io] [registries.crates-io]

@ -9,6 +9,8 @@ rustflags = [
"--cfg", "tokio_unstable", "--cfg", "tokio_unstable",
# uuid unstable is needed for zerocopy deserialize # uuid unstable is needed for zerocopy deserialize
"--cfg", "uuid_unstable", "--cfg", "uuid_unstable",
# parallel build frontend
"-Z", "threads=0",
] ]
[target.aarch64-unknown-linux-gnu] [target.aarch64-unknown-linux-gnu]
@ -24,4 +26,6 @@ rustflags = [
"--cfg", "tokio_unstable", "--cfg", "tokio_unstable",
# uuid unstable is needed for zerocopy deserialize # uuid unstable is needed for zerocopy deserialize
"--cfg", "uuid_unstable", "--cfg", "uuid_unstable",
# parallel build frontend
"-Z", "threads=0",
] ]