Skip to content

Commit 61f6104

Browse files
committed
fix: remove -vv flag that conflicts with rules_rust verbose setting
The -vv flag caused 'Option verbose given more than once' error because rules_rust already passes -v to rustc. Removed the conflicting flag. The debug_rust_toolchain target will still show us what files are visible in the Windows sandbox.
1 parent b31ebc1 commit 61f6104

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

rust/transitions.bzl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ def _wasm_transition_impl(settings, attr):
3939
# rustc/lib/rustlib/x86_64-pc-windows-msvc/bin/wasm-component-ld.exe
4040
# But rustc can't find it by name alone. We need to help it.
4141
if is_windows:
42-
# DEBUG: Add verbose output to see what rustc is doing
43-
# -vv shows command lines and search paths
44-
current_flags.extend(["-vv"])
45-
4642
# Try using -Clink-self-contained=yes to force rustc to use its own linker tools
4743
# This should make it search in lib/rustlib/{target}/bin/
4844
current_flags.extend(["-Clink-self-contained=yes"])

0 commit comments

Comments
 (0)