how could we do this on windows ?
on wsl: $ RUSTFLAGS="-Z threads=8" cargo +nightly build --release
thx Julien.
how could we do this on windows ?
on wsl: $ RUSTFLAGS="-Z threads=8" cargo +nightly build --release
thx Julien.
On PowerShell:
$env:RUSTFLAGS="-Z threads=8"
cargo +nightly build --release
and so cargo will look into $env at build ?
i mean flags have to be set specially to the $env not another random name is that right ?
Correct. In powershell, $env
is a dictionary used for environment variables.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.