Open lexi-the-cute opened 1 year ago
cargo deb
just runs cargo build
, and Cargo builds in parallel by default, i.e. the default for -j
is the number of cores you have. So it should be parallel already. Note that it can be parallelized only on the crate level, so if you're building one crate it will just build that one.
I'd like to request parallel building. For example, using the same flags as
cargo build
. An example is usingcargo deb -j 4 --target=aarch64-unknown-linux-gnu --variant=rasberrypios
when there's 2 logical CPUs.