Skip to content

Commit

Permalink
Add NUM_JOBS env var to cargo build scripts (#1216)
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed Mar 23, 2022
1 parent 628e85e commit 8df4517
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cargo/cargo_build_script.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def _build_script_impl(ctx):
"CARGO_MANIFEST_DIR": manifest_dir,
"CARGO_PKG_NAME": pkg_name,
"HOST": toolchain.exec_triple,
"NUM_JOBS": "1",
"OPT_LEVEL": compilation_mode_opt_level,
"RUSTC": toolchain.rustc.path,
"TARGET": toolchain.target_flag_value,
Expand Down

0 comments on commit 8df4517

Please sign in to comment.