Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

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

iceweasel-oaic333d755d44d
diff --git a/patches/BUILD.bazel b/patches/BUILD.bazel
index 13ea7919eb..e442235b4b 100644
--- a/patches/BUILD.bazel
+++ b/patches/BUILD.bazel
@@ -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",
diff --git a/patches/mxc-sdk_utf8_resources.patch b/patches/mxc-sdk_utf8_resources.patch
new file mode 100644
index 0000000000..9e3720c54c
--- /dev/null
+++ b/patches/mxc-sdk_utf8_resources.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")