[bazel] Try to remove mingw patch

This commit is contained in:
David Zbarsky
2026-03-29 14:04:07 -04:00
parent 54d3ad1ede
commit 375d17bfc7
3 changed files with 18 additions and 0 deletions

View File

@@ -11,8 +11,10 @@ single_version_override(
patch_strip = 1,
patches = [
"//patches:llvm_windows_symlink_extract.patch",
"//patches:toolchains_llvm_remove_mingw_msvcrt_patch.patch",
],
)
# Abseil picks a MinGW pthread TLS path that does not match our hermetic
# windows-gnullvm toolchain; force it onto the portable C++11 thread-local path.
single_version_override(

View File

@@ -5,6 +5,7 @@ exports_files([
"rules_rust_windows_gnullvm_build_script.patch",
"rules_rs_windows_gnullvm_exec.patch",
"rusty_v8_prebuilt_out_dir.patch",
"toolchains_llvm_remove_mingw_msvcrt_patch.patch",
"v8_bazel_rules.patch",
"v8_module_deps.patch",
"v8_source_portability.patch",

View File

@@ -0,0 +1,15 @@
diff --git a/runtimes/mingw/extension/mingw.bzl b/runtimes/mingw/extension/mingw.bzl
index 84aeae4..1212a56 100644
--- a/runtimes/mingw/extension/mingw.bzl
+++ b/runtimes/mingw/extension/mingw.bzl
@@ -9,10 +9,6 @@ def _mingw_extension_impl(module_ctx):
integrity = "sha256-Wv6CKvXE7b9n2q9F7sYdU49J7vaxlSTeZIl8a5WCjK8=",
strip_prefix = "mingw-w64-v13.0.0",
build_file = "//runtimes/mingw:mingw.BUILD.bazel",
- patches = [
- "//runtimes/mingw/patches:remove-fpreset-from-msvcrt-def.patch",
- ],
- patch_args = ["-p1"],
)
metadata_kwargs = {}