mirror of
https://github.com/openai/codex.git
synced 2026-10-19 16:17:49 +00:00
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:
@@ -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",
|
||||
|
||||
@@ -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")
|
||||
Reference in New Issue
Block a user