Skip to content

Conversation

rickeylev
Copy link
Collaborator

@rickeylev rickeylev commented Oct 23, 2024

In order for WORKSPACE to work with newer bazel versions, rules_cc 0.0.13 or higher is
necessary. rules_cc then requires a newer protobuf version.

Note I couldn't figure out the minimum protobuf version, but 27.0 seems to work OK.

AFAIK only WORKSPACE is affected. Our bzlmod uses 0.0.9 and hasn't had issues.

Fixes #2310

@rickeylev rickeylev force-pushed the chore.deps.rules_cc branch 2 times, most recently from b10bfc7 to a005554 Compare October 23, 2024 21:14
@rickeylev rickeylev force-pushed the chore.deps.rules_cc branch from a005554 to 9522e15 Compare October 23, 2024 21:45
@rickeylev rickeylev marked this pull request as ready for review October 24, 2024 17:40
@rickeylev rickeylev enabled auto-merge October 24, 2024 17:51
@rickeylev rickeylev added this pull request to the merge queue Oct 24, 2024
Merged via the queue into bazel-contrib:main with commit f231358 Oct 24, 2024
4 checks passed
@rickeylev rickeylev deleted the chore.deps.rules_cc branch October 24, 2024 20:16
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.

[Bazel CI] Error toolchain_config_utils.bzl is invalid because 'cc/toolchains' is not a package.
2 participants