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

Specify /CETCOMPAT in Bazel Windows build #1164

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

yukawa
Copy link
Collaborator

@yukawa yukawa commented Jan 21, 2025

Description

Win32 x64/x86 executables built with GYP are already declared to be Intel CET compatible (#835).

With this commit those executables built with Bazel also become Intel CET compatible.

Closes #1113.

Issue IDs

Steps to test new behaviors (if any)

  • OS: Windows 11 24H2
  • Steps:
    1. Build Mozc64.msi with Bazel.
    2. Install Mozc64.msi
    3. dumpbin /HEADERS mozc_tip64.dll | findstr compatible -> Confirm CET compatible
    4. dumpbin /HEADERS mozc_server.exe | findstr compatible -> Confirm CET compatible

Win32 x64/x86 executables built with GYP are already declared to be
Intel CET compatible (google#835).

With this commit those executables built with Bazel also become Intel
CET compatible.

Closes google#1113.
@hiroyuki-komatsu hiroyuki-komatsu merged commit 83fd307 into google:master Jan 22, 2025
1 check passed
@hiroyuki-komatsu
Copy link
Collaborator

We have merged your PR.
Thank you for the contribution!

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.

/CETCOMPAT linker option is not set in Bazel build
2 participants