commit | 2893b0c9d1d348abdf2f2e10b0175d721fb8b4e1 | [log] [tgz] |
---|---|---|
author | Mend Renovate <bot@renovateapp.com> | Wed Aug 27 04:37:14 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Aug 27 04:37:43 2025 -0700 |
tree | ff3c3c30cb825753e65ea539912c1ee357619f65 | |
parent | 8169fdde3b47e43213179f45188900877dd153ad [diff] |
Update bazel-contrib/.github action to v7.2.3 Copybara Import from https://github.com/bazelbuild/rules_cc/pull/444 BEGIN_PUBLIC Update bazel-contrib/.github action to v7.2.3 (#444) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [bazel-contrib/.github](https://redirect.github.com/bazel-contrib/.github) | action | patch | `v7.2.2` -> `v7.2.3` | --- ### Release Notes <details> <summary>bazel-contrib/.github (bazel-contrib/.github)</summary> ### [`v7.2.3`](https://redirect.github.com/bazel-contrib/.github/compare/v7.2.2...v7.2.3) [Compare Source](https://redirect.github.com/bazel-contrib/.github/compare/v7.2.2...v7.2.3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/bazelbuild/rules_cc). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Closes #444 END_PUBLIC COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_cc/pull/444 from renovate-bot:renovate/bazel-contrib-.github-7.x 2d21fe75d1e10929f94e77b2a6272b839713ee66 PiperOrigin-RevId: 799979904 Change-Id: I0785d3df55a4190b8f8408eb3f50a50dd8a53395
This repository contains a Starlark implementation of C++ rules in Bazel.
The rules are being incrementally converted from their native implementations in the Bazel source tree.
For the list of C++ rules, see the Bazel documentation.
Add the following to your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_cc", urls = ["https://github.com/bazelbuild/rules_cc/archive/refs/tags/<VERSION>.tar.gz"], sha256 = "...", )
Then, in your BUILD
files, import and use the rules:
load("@rules_cc//cc:defs.bzl", "cc_library") cc_library( ... )
This repo contains an auto-detecting toolchain that expects to find tools installed on your host machine. This is non-hermetic, and may have varying behaviors depending on the versions of tools found.
There are third-party contributed hermetic toolchains you may want to investigate:
If you'd like to use the cc toolchain defined in this repo, add this to your WORKSPACE
after you include rules_cc:
load("@rules_cc//cc:repositories.bzl", "rules_cc_dependencies", "rules_cc_toolchains") rules_cc_dependencies() rules_cc_toolchains()
This repository also contains migration tools that can be used to migrate your project for Bazel incompatible changes.
Script that migrates legacy crosstool fields into features (incompatible flag, tracking issue).
TLDR:
bazel run @rules_cc//tools/migration:legacy_fields_migrator -- \ --input=my_toolchain/CROSSTOOL \ --inline
Bazel and rules_cc
are the work of many contributors. We appreciate your help!
To contribute, please read the contribution guidelines: CONTRIBUTING.md.
Note that the rules_cc
use the GitHub issue tracker for bug reports and feature requests only. For asking questions see:
rules_cc
mailing list#cc
on slack.bazel.build