github bazelbuild/rules_cc 0.2.22

5 hours ago

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

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

Rules based toolchain changes

Full Changelog: 0.2.21...0.2.22

Don't miss a new rules_cc release

NewReleases is sending notifications on new releases.