Skip to content

deps: Update dependency rules_cc to v0.2.22#748

Open
ffortier wants to merge 1 commit into
mainfrom
renovate/rules_cc-0.x
Open

deps: Update dependency rules_cc to v0.2.22#748
ffortier wants to merge 1 commit into
mainfrom
renovate/rules_cc-0.x

Conversation

@ffortier

@ffortier ffortier commented Apr 21, 2026

Copy link
Copy Markdown
Owner

This PR contains the following updates:

Package Type Update Change
rules_cc bazel_dep patch 0.2.170.2.22

Release Notes

bazelbuild/rules_cc (rules_cc)

v0.2.22

Compare Source

Using bzlmod with Bazel 6 or later:
  1. [Bazel 6] Add common --enable_bzlmod to .bazelrc.

  2. Add to your MODULE.bazel file:

bazel_dep(name = "rules_cc", version = "0.2.22")
Using WORKSPACE:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_cc",
    sha256 = "81c10a95a5c22d838276ee90d712635d6042419fdfca5ef88328226b6321e53b",
    strip_prefix = "rules_cc-0.2.22",
    url = "https://github.com/bazelbuild/rules_cc/releases/download/0.2.22/rules_cc-0.2.22.tar.gz",
)

load("@​rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")

compatibility_proxy_repo()
What's Changed
Other notable changes
Default toolchain changes
Rules based toolchain changes

Full Changelog: bazelbuild/rules_cc@0.2.21...0.2.22

v0.2.21

Compare Source

Using bzlmod with Bazel 6 or later:
  1. [Bazel 6] Add common --enable_bzlmod to .bazelrc.

  2. Add to your MODULE.bazel file:

bazel_dep(name = "rules_cc", version = "0.2.21")
Using WORKSPACE:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_cc",
    sha256 = "962251923438d27fc030c2d9d35c058a7f7da4fed42c42ad5342c7b4403d4cf2",
    strip_prefix = "rules_cc-0.2.21",
    url = "https://github.com/bazelbuild/rules_cc/releases/download/0.2.21/rules_cc-0.2.21.tar.gz",
)

load("@​rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")

compatibility_proxy_repo()
What's Changed
New Features
  • Support for adding runtimes-on-demand with @bazel_tools//tools/cpp:cc_runtimes_toolchain_type . by @​trybka in 5eeedeb
Default toolchain changes
Rules based toolchain changes

Full Changelog: bazelbuild/rules_cc@0.2.20...0.2.21

v0.2.20

Compare Source

Using bzlmod with Bazel 6 or later:
  1. [Bazel 6] Add common --enable_bzlmod to .bazelrc.

  2. Add to your MODULE.bazel file:

bazel_dep(name = "rules_cc", version = "0.2.20")
Using WORKSPACE:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_cc",
    sha256 = "69e05df29f0010ba248ef8dafc1f084c8fd2f5c553da634422d8167f5c4b277b",
    strip_prefix = "rules_cc-0.2.20",
    url = "https://github.com/bazelbuild/rules_cc/releases/download/0.2.20/rules_cc-0.2.20.tar.gz",
)

load("@​rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")

compatibility_proxy_repo()
What's Changed
Notable changes
Default toolchain changes
Rules based toolchain changes

Full Changelog: bazelbuild/rules_cc@0.2.19...0.2.20

v0.2.19

Compare Source

Using bzlmod with Bazel 6 or later:
  1. [Bazel 6] Add common --enable_bzlmod to .bazelrc.

  2. Add to your MODULE.bazel file:

bazel_dep(name = "rules_cc", version = "0.2.19")
Using WORKSPACE:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_cc",
    sha256 = "351248f6be41d18694d4d7c390aaebd9f865eea72a4758b2c9d782ae744c97f4",
    strip_prefix = "rules_cc-0.2.19",
    url = "https://github.com/bazelbuild/rules_cc/releases/download/0.2.19/rules_cc-0.2.19.tar.gz",
)

load("@​rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")

compatibility_proxy_repo()

I curated the release notes for the latest release if someone can copy-paste them in to https://github.com/bazelbuild/rules_cc/releases/tag/0.2.19

What's Changed
New features
Other notable changes
Default toolchain changes
Rules based toolchain changes

Full Changelog: bazelbuild/rules_cc@0.2.18...0.2.19

v0.2.18

Compare Source

Using bzlmod with Bazel 6 or later:
  1. [Bazel 6] Add common --enable_bzlmod to .bazelrc.

  2. Add to your MODULE.bazel file:

bazel_dep(name = "rules_cc", version = "0.2.18")
Using WORKSPACE:
load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_cc",
    sha256 = "1de5b47721fce0af0dd453b3071228fdfc44bd18199826b3f0b03b423aae9f65",
    strip_prefix = "rules_cc-0.2.18",
    url = "https://github.com/bazelbuild/rules_cc/releases/download/0.2.18/rules_cc-0.2.18.tar.gz",
)

load("@​rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")

compatibility_proxy_repo()

I curated the release notes for the latest release if someone can copy-paste them in to https://github.com/bazelbuild/rules_cc/releases/tag/0.2.18

What's Changed
Notable changes
Default toolchain changes
Rules based toolchain changes

Full Changelog: bazelbuild/rules_cc@0.2.17...0.2.18


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@ffortier

ffortier commented Apr 21, 2026

Copy link
Copy Markdown
Owner Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: undefined
Command failed: ./.github/renovate/post-upgrade.sh
+ bzl_opts=(--override_module=toolchains_llvm=./third_party/cpp/no_toolchains_llvm)
+ git diff --exit-code third_party/python/requirements.in
+ git diff --exit-code third_party/java/deps.MODULE.bazel
+ git diff --exit-code third_party/dotnet/paket.dependencies
+ git diff --exit-code deno.jsonc
+ git diff --exit-code third_party/deno/toolchains.MODULE.bazel
+ REPIN=1
+ bazel build --nobuild //... --override_module=toolchains_llvm=./third_party/cpp/no_toolchains_llvm
Starting local Bazel server (9.2.0) and connecting to it...
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 2 packages loaded
Loading: 16 packages loaded
    currently loading:  ... (9 packages)
Loading: 54 packages loaded
    currently loading: experiments/raymd ... (20 packages)
Analyzing: 169 targets (84 packages loaded, 6 targets configured)
Analyzing: 169 targets (100 packages loaded, 254 targets configured)
Analyzing: 169 targets (113 packages loaded, 300 targets configured)
Analyzing: 169 targets (118 packages loaded, 300 targets configured)
DEBUG: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_rust+/crate_universe/extension.bzl:6:6: 
WARNING: @rules_rust//crate_universe:extension.bzl is deprecated and will be removed in a future release. Load `crate` from @rules_rust//crate_universe:extensions.bzl instead.
Analyzing: 169 targets (246 packages loaded, 313 targets configured)
Analyzing: 169 targets (308 packages loaded, 314 targets configured)
Analyzing: 169 targets (334 packages loaded, 911 targets configured)
Analyzing: 169 targets (349 packages loaded, 5022 targets configured)
Analyzing: 169 targets (350 packages loaded, 15725 targets configured)
Analyzing: 169 targets (350 packages loaded, 27987 targets configured)
Analyzing: 169 targets (358 packages loaded, 28561 targets configured)
Analyzing: 169 targets (358 packages loaded, 28561 targets configured)
Analyzing: 169 targets (365 packages loaded, 32115 targets configured)
Analyzing: 169 targets (365 packages loaded, 32115 targets configured)
Analyzing: 169 targets (368 packages loaded, 32236 targets configured)
Analyzing: 169 targets (371 packages loaded, 32258 targets configured)
Analyzing: 169 targets (373 packages loaded, 34164 targets configured)
Analyzing: 169 targets (378 packages loaded, 35121 targets configured, 3 aspect applications)
Analyzing: 169 targets (395 packages loaded, 35215 targets configured, 3 aspect applications)
Analyzing: 169 targets (426 packages loaded, 35534 targets configured, 3 aspect applications)
Analyzing: 169 targets (439 packages loaded, 36580 targets configured, 3 aspect applications)
Analyzing: 169 targets (451 packages loaded, 36716 targets configured, 3 aspect applications)
Analyzing: 169 targets (452 packages loaded, 36716 targets configured, 3 aspect applications)
Analyzing: 169 targets (473 packages loaded, 40983 targets configured, 3 aspect applications)
Analyzing: 169 targets (475 packages loaded, 40985 targets configured, 3 aspect applications)
Analyzing: 169 targets (475 packages loaded, 40985 targets configured, 3 aspect applications)
Analyzing: 169 targets (476 packages loaded, 40985 targets configured, 3 aspect applications)
Analyzing: 169 targets (478 packages loaded, 56658 targets configured, 3 aspect applications)
Analyzing: 169 targets (497 packages loaded, 58730 targets configured, 3 aspect applications)
DEBUG: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_python+/python/private/py_executable.bzl:1498:14: 
======================================================================
WARNING: Target @@//experiments/os:assembler is using implicit __init__.py creation.
  This diabolic behavior is deprecated and will be disabled by default in a
  future release.
  See https://github.com/bazel-contrib/rules_python/issues/2945

  Ensure all __init__.py files are explicitly created and
  added to the srcs or deps of your targets.

  Disable implicit creation by setting:
    legacy_create_init = 0
  on the target, or globally by setting:
    --incompatible_default_to_explicit_init_py
======================================================================
DEBUG: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_python+/python/private/py_executable.bzl:1498:14: 
======================================================================
WARNING: Target @@rules_python+//python/private:py_console_script_gen_py is using implicit __init__.py creation.
  This diabolic behavior is deprecated and will be disabled by default in a
  future release.
  See https://github.com/bazel-contrib/rules_python/issues/2945

  Ensure all __init__.py files are explicitly created and
  added to the srcs or deps of your targets.

  Disable implicit creation by setting:
    legacy_create_init = 0
  on the target, or globally by setting:
    --incompatible_default_to_explicit_init_py
======================================================================
DEBUG: /tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/rules_python+/python/private/py_executable.bzl:1498:14: 
======================================================================
WARNING: Target @@bazel_tools//tools/jdk:proguard_allowlister is using implicit __init__.py creation.
  This diabolic behavior is deprecated and will be disabled by default in a
  future release.
  See https://github.com/bazel-contrib/rules_python/issues/2945

  Ensure all __init__.py files are explicitly created and
  added to the srcs or deps of your targets.

  Disable implicit creation by setting:
    legacy_create_init = 0
  on the target, or globally by setting:
    --incompatible_default_to_explicit_init_py
======================================================================
ERROR: /tmp/renovate/repos/github/ffortier/mono/modules/toolchains_cc65/examples/sim65/BUILD.bazel:23:13: in _sim65_tool rule //modules/toolchains_cc65/examples/sim65:sim_sim65: 
Traceback (most recent call last):
	File "/tmp/containerbase/cache/.cache/bazel/_bazel_ubuntu/1b5ffcdd61e73605eab60db158621164/external/toolchains_cc65+/cc65/private/sim65_binary.bzl", line 45, column 13, in _sim65_tool_impl
		fail("cc65 sim tool not found for action '%s' at path: %s" % (ctx.attr.action_name, simulator_path))
Error in fail: cc65 sim tool not found for action 'run_simulator' at path: external/toolchains_cc65++cc65+cc65_linux_x86_64/bin/sim65
ERROR: /tmp/renovate/repos/github/ffortier/mono/modules/toolchains_cc65/examples/sim65/BUILD.bazel:23:13: Analysis of target '//modules/toolchains_cc65/examples/sim65:sim_sim65' (config: 1c46b5c) failed
ERROR: Analysis of target '//modules/toolchains_cc65/examples/sim65:sim' failed; build aborted: Analysis failed
INFO: Elapsed time: 44.360s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
Loading: 502 packages loaded

@coderabbitai

coderabbitai Bot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Updated the rules_cc Bazel module dependency from 0.2.17 to 0.2.18 in four MODULE.bazel files across the repository.

Changes

Cohort / File(s) Summary
Module toolchain files
modules/toolchains_cc65/MODULE.bazel, modules/uxn/MODULE.bazel
Bumped bazel_dep(name = "rules_cc") version from 0.2.170.2.18.
Third-party C++ dependencies
third_party/cpp/no_toolchains_llvm/MODULE.bazel, third_party/cpp/toolchains.MODULE.bazel
Bumped bazel_dep(name = "rules_cc") version from 0.2.170.2.18.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

🐰 I nibble at MODULE lines so neat,
A tiny hop — a version treat,
From 0.2.17 to 0.2.18 I bound,
Soft paws tap the changelog ground,
A carrot-coded cheer, profound! 🥕

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title matches the dependency update, but it names the wrong version; the PR bumps rules_cc to v0.2.18, not v0.2.22. Update the title to reflect the actual change, e.g. 'deps: Update dependency rules_cc to v0.2.18'.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/rules_cc-0.x

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ffortier
ffortier force-pushed the renovate/rules_cc-0.x branch 12 times, most recently from b08ecfc to 5af9cd3 Compare April 29, 2026 10:34
@ffortier
ffortier force-pushed the renovate/rules_cc-0.x branch 4 times, most recently from 2cf92da to 7abb2df Compare May 4, 2026 18:09
@ffortier
ffortier force-pushed the renovate/rules_cc-0.x branch 11 times, most recently from 59d10d3 to df0a287 Compare May 15, 2026 15:11
@ffortier
ffortier force-pushed the renovate/rules_cc-0.x branch from df0a287 to 42bbaa5 Compare May 18, 2026 05:03
@ffortier
ffortier force-pushed the renovate/rules_cc-0.x branch 5 times, most recently from effc186 to 3817b7f Compare June 11, 2026 22:33
@ffortier
ffortier force-pushed the renovate/rules_cc-0.x branch from 3817b7f to fb99000 Compare June 22, 2026 20:01
@ffortier ffortier changed the title deps: Update dependency rules_cc to v0.2.19 deps: Update dependency rules_cc to v0.2.20 Jun 22, 2026
@ffortier
ffortier force-pushed the renovate/rules_cc-0.x branch from fb99000 to 021452c Compare July 3, 2026 11:21
@ffortier ffortier changed the title deps: Update dependency rules_cc to v0.2.20 deps: Update dependency rules_cc to v0.2.21 Jul 3, 2026
@ffortier
ffortier force-pushed the renovate/rules_cc-0.x branch from 021452c to 0a72fde Compare July 7, 2026 18:54
@ffortier ffortier changed the title deps: Update dependency rules_cc to v0.2.21 deps: Update dependency rules_cc to v0.2.22 Jul 7, 2026
@ffortier
ffortier force-pushed the renovate/rules_cc-0.x branch 18 times, most recently from 422a3fd to 21559dc Compare July 23, 2026 10:56
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