Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch rules_cc 0.0.17 to use clang-cl for x86 #1186

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

yukawa
Copy link
Collaborator

@yukawa yukawa commented Feb 15, 2025

Description

This is a preparation to build Mozc for Windows with clang-cl.

This commit pulls my pull request to let rules_cc register clang-cl as a valid toolchain to build x86 (32-bit) Windows executables. While when and how my pull request will get merged into upstream, having these local patches allows us to go ahead to see if we can fully migrate to clang-cl or not.

There must be no impact on Bazel with msvc build in this commit.

Issue IDs

Steps to test new behaviors (if any)

  • OS: Windows 11 24H2
  • Steps:
    1. Confirm you can still build Mozc with Bazel for Windows with msvc

This is a preparation to build Mozc for Windows with clang-cl (google#1179).

This commit pulls my pull request [1] to let rules_cc register clang-cl
as a valid toolchain to build x86 (32-bit) Windows executables. While
when and how my pull request will get merged into upstream, having these
local patches allows us to go ahead to see if we can fully migrate to
clang-cl or not.

There must be no impact on Bazel with msvc build in this commit.

 [1]: bazelbuild/rules_cc#360
@hiroyuki-komatsu hiroyuki-komatsu merged commit 76343ff into google:master Feb 18, 2025
1 check passed
@yukawa yukawa deleted the patch_rules_cc_pr_360 branch February 18, 2025 13:54
@yukawa yukawa restored the patch_rules_cc_pr_360 branch February 18, 2025 13:55
@yukawa yukawa deleted the patch_rules_cc_pr_360 branch February 18, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants