Skip to content

[build] Enable ISA extensions globally in release builds#6243

Open
fhanau wants to merge 1 commit intomainfrom
felix/030326-bazel-crc
Open

[build] Enable ISA extensions globally in release builds#6243
fhanau wants to merge 1 commit intomainfrom
felix/030326-bazel-crc

Conversation

@fhanau
Copy link
Copy Markdown
Contributor

@fhanau fhanau commented Mar 4, 2026

As a long-term solution for which hardware flags to enable, we enable the flags we need on all of workerd in release builds. Alongside capnproto/capnproto#2582, this should fix the footgun responsible for #5977 for good as the CRC-based hash is only used when all of workerd is built with the given CPU flags.

Also see #2582.

@fhanau fhanau requested a review from mikea March 4, 2026 21:17
@fhanau fhanau requested review from a team as code owners March 4, 2026 21:17
@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk Bot commented Mar 4, 2026

ResolveMessage: Cannot find module '@opencode-ai/plugin' from '/home/runner/work/workerd/workerd/.opencode/tools/bazel-deps.ts'

github run

@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk Bot commented Mar 4, 2026

@fhanau Bonk workflow failed. Check the logs for details.

View workflow run · To retry, trigger Bonk again.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 4, 2026

The generated output of @cloudflare/workers-types matches the snapshot in types/generated-snapshot 🎉

As a long-term solution for which hardware flags to enable, we enable the flags
we need on all of workerd in release builds. Alongside capnproto/capnproto#2582,
this should fix the footgun responsible for #5977 for good as the CRC-based hash
is only used when all of workerd is built with the given CPU flags.
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.

1 participant