Hacker News new | ask | show | jobs
by wonrax 950 days ago
RUSTFLAGS environment variable, it's mentioned in the post too:

> $ RUSTFLAGS="-Z threads=8" cargo build --release

1 comments

that doen't answer parent's question.
$(nproc) as the value might work. (On Linux)