Skip to content

Bump rules_cc from 0.2.18 to 0.2.22#987

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bazel/rules_cc-0.2.22
Open

Bump rules_cc from 0.2.18 to 0.2.22#987
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bazel/rules_cc-0.2.22

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 21, 2026

Copy link
Copy Markdown

Bumps rules_cc from 0.2.18 to 0.2.22.

Release notes

Sourced from rules_cc's releases.

0.2.22

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

  • Propagate cc_shared_library GraphStructureAspect to toolchains. by @​lilygorsheneva in 840d5327f513f2cfa1bb13be70eaaf11b4556e4d
  • Fix kwargs handling in c++20 modules functions. by @​lilygorsheneva in 0662ed273bffd3796f9493a9e02f0d65e0da0acf

Default toolchain changes

  • Add -mmacosx-version-min back to default toolchain by @​keith in 21e14308c2afc7691f43295acc9852d9a6844f04

Rules based toolchain changes

  • Add macOS ThinLTO arguments by @​dzbarsky in 9b321830c1a84415bc139d29e5864b3bb7f1b474

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

0.2.21

Using bzlmod with Bazel 6 or later:

... (truncated)

Commits
  • 21e1430 Add -mmacosx-version-min back to default toolchain
  • 0662ed2 Fix kwargs handling in c++20 modules functions.
  • 840d532 Propagate cc_shared_library GraphStructureAspect to toolchains.
  • cb55cca Use custom params file naming support for LTO indexing
  • 56e38b4 Move C++ dwp/fission tests to rules_cc.
  • 9b32183 Add macOS ThinLTO arguments
  • 1a20833 Change default needs_include_validation to match createCppCompileAction's par...
  • fad3ad3 Starlarkify compute_output_name_prefix_dir
  • 593d6fc Remove unused variable
  • 084155d Automatic code cleanup.
  • Additional commits viewable in compare view

@dependabot dependabot Bot added bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file labels Jul 21, 2026
Bumps [rules_cc](https://github.com/bazelbuild/rules_cc) from 0.2.18 to 0.2.22.
- [Release notes](https://github.com/bazelbuild/rules_cc/releases)
- [Commits](bazelbuild/rules_cc@0.2.18...0.2.22)

---
updated-dependencies:
- dependency-name: rules_cc
  dependency-version: 0.2.22
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump rules_cc from 0.2.16 to 0.2.22 Bump rules_cc from 0.2.18 to 0.2.22 Jul 21, 2026
@dependabot
dependabot Bot force-pushed the dependabot/bazel/rules_cc-0.2.22 branch from abd6c5e to fc2bb37 Compare July 21, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants