Skip to content

Commit

Permalink
Remove last remains of use_process_wrapper flag. (#1192)
Browse files Browse the repository at this point in the history
Co-authored-by: UebelAndre <github@uebelandre.com>
  • Loading branch information
gigaroby and UebelAndre committed Mar 14, 2022
1 parent eb7db68 commit e840400
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion rust/private/rustc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ def rustc_compile_action(
else:
# Run without process_wrapper
if build_env_files or build_flags_files or stamp:
fail("build_env_files, build_flags_files, stamp are not supported if use_process_wrapper is False")
fail("build_env_files, build_flags_files, stamp are not supported when building without process_wrapper")
ctx.actions.run(
executable = toolchain.rustc,
inputs = compile_inputs,
Expand Down
7 changes: 0 additions & 7 deletions rust/settings/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ bool_flag(
build_setting_default = False,
)

# A flag that enables/disables the use of process_wrapper when invoking rustc.
# This is useful for building process_wrapper itself without causing dependency cycles.
bool_flag(
name = "use_process_wrapper",
build_setting_default = True,
)

bzl_library(
name = "bzl_lib",
srcs = glob(["**/*.bzl"]),
Expand Down

0 comments on commit e840400

Please sign in to comment.