Add the missing mxc-sdk UTF-8 resource patch for Bazel (#51890)

## Why

`MODULE.bazel` already references `mxc-sdk_utf8_resources.patch`, but the patch file and its Bazel export are missing.

## What changed

Add and export the patch to pass `/c65001` to the Windows resource compiler when embedding `mxc-sdk` binary version information, selecting UTF-8 as the resource code page.

GitOrigin-RevId: 80cd64e6a8056c61868b5e20fd8e2fee69c1b96b
This commit is contained in:
iceweasel-oai
2026-10-08 00:47:20 +00:00
committed by copyberry
parent ec8251c545
commit c333d755d4
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ exports_files([
"llvm_rusty_v8_custom_libcxx.patch",
"llvm_windows_arm64_powl.patch",
"llvm_windows_mingw_compat.patch",
"mxc-sdk_utf8_resources.patch",
"rules_rust_build_script_tools_transition.patch",
"rules_rust_compiler_thp.patch",
"rules_rust_process_wrapper_param_file.patch",
+7
View File
@@ -0,0 +1,7 @@
diff --git a/src/mxc-sdk/build/build_mxc_build_common.rs b/src/mxc-sdk/build/build_mxc_build_common.rs
--- a/src/mxc-sdk/build/build_mxc_build_common.rs
+++ b/src/mxc-sdk/build/build_mxc_build_common.rs
@@ -104,2 +104,3 @@ fn embed_version_info_for_binary_windows(
let output = compiler
+ .arg("/c65001")
.arg("/nologo")