File size: 548 Bytes
2ee40b0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | diff --git a/rust/private/rustc.bzl b/rust/private/rustc.bzl
--- a/rust/private/rustc.bzl
+++ b/rust/private/rustc.bzl
@@ -1125,5 +1125,7 @@
for build_env_file in build_env_files:
process_wrapper_flags.add("--env-file", build_env_file)
- process_wrapper_flags.add_all(build_flags_files, before_each = "--arg-file")
+ # The wrapper accepts multiple files per flag. Reduce native Windows
+ # command-line length without changing the files or their order.
+ process_wrapper_flags.add_all("--arg-file", build_flags_files)
|