From e09cc1bd9db1a09386448944603de9adf1634795 Mon Sep 17 00:00:00 2001 From: Friel Date: Thu, 2 Apr 2026 07:58:13 +0000 Subject: [PATCH] Restore rules_rust patch context indentation --- ...es_rust_windows_bootstrap_process_wrapper_linker.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/rules_rust_windows_bootstrap_process_wrapper_linker.patch b/patches/rules_rust_windows_bootstrap_process_wrapper_linker.patch index d41c59d3fb..9a978b8be6 100644 --- a/patches/rules_rust_windows_bootstrap_process_wrapper_linker.patch +++ b/patches/rules_rust_windows_bootstrap_process_wrapper_linker.patch @@ -1,8 +1,8 @@ --- a/rust/private/rustc.bzl +++ b/rust/private/rustc.bzl @@ -472,7 +472,19 @@ - ) - ld_is_direct_driver = False + ) + ld_is_direct_driver = False - if not ld or toolchain.linker_preference == "rust": + # The bootstrap process wrapper is built without the normal rules_rust @@ -18,6 +18,6 @@ + ) + + if not ld or toolchain.linker_preference == "rust" or use_bootstrap_rust_linker: - ld = toolchain.linker.path - ld_is_direct_driver = toolchain.linker_type == "direct" + ld = toolchain.linker.path + ld_is_direct_driver = toolchain.linker_type == "direct"