Conversation
If you specify `sysroot = "/"`, this resulted in paths like `//include` which resulted in warnings like: ``` .../toolchains_llvm~~llvm~linux_llvm_17_x86_64_toolchain/module-x86_64-linux.modulemap:1249:14: warning: umbrella directory '//include' not found [-Wincomplete-umbrella] ```
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_rust](https://togithub.com/bazelbuild/rules_rust) | http_archive | minor | `0.41.1` -> `0.42.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_rust (rules_rust)</summary> ### [`v0.42.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.42.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.41.1...0.42.0) ### 0.42.0 ```python load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", integrity = "sha256-XT1YVJ6FHJTXBr1v3px2fV37/OCS3dQk3ul+XvfIIf8=", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.42.0/rules_rust-v0.42.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Fix crates.io URL by [@​ericmcbride](https://togithub.com/ericmcbride) in [https://github.com/bazelbuild/rules_rust/pull/2597](https://togithub.com/bazelbuild/rules_rust/pull/2597) - Add support for `--compile_one_dependency` by [@​william-smith-skydio](https://togithub.com/william-smith-skydio) in [https://github.com/bazelbuild/rules_rust/pull/2598](https://togithub.com/bazelbuild/rules_rust/pull/2598) - Update rules_apple by [@​sgowroji](https://togithub.com/sgowroji) in [https://github.com/bazelbuild/rules_rust/pull/2602](https://togithub.com/bazelbuild/rules_rust/pull/2602) - Support building more things with bzlmod by [@​matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2601](https://togithub.com/bazelbuild/rules_rust/pull/2601) - Make bazel lock file cross-platform by [@​cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2453](https://togithub.com/bazelbuild/rules_rust/pull/2453) - Added Rust 1.77.1 by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2591](https://togithub.com/bazelbuild/rules_rust/pull/2591) - Fix (+) In vendored crates semver metadata by [@​ericmcbride](https://togithub.com/ericmcbride) in [https://github.com/bazelbuild/rules_rust/pull/2579](https://togithub.com/bazelbuild/rules_rust/pull/2579) - Keep default_features parity from bzlmod to workspace by [@​Lev1ty](https://togithub.com/Lev1ty) in [https://github.com/bazelbuild/rules_rust/pull/2606](https://togithub.com/bazelbuild/rules_rust/pull/2606) - clippy: use --cap-lints=warn; apply clippy_flags when capture_output=True by [@​goffrie](https://togithub.com/goffrie) in [https://github.com/bazelbuild/rules_rust/pull/2451](https://togithub.com/bazelbuild/rules_rust/pull/2451) - Added Rust 1.77.2 by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2608](https://togithub.com/bazelbuild/rules_rust/pull/2608) - Re-vendor crate_universe outputs by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2609](https://togithub.com/bazelbuild/rules_rust/pull/2609) - Release 0.42.0 by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2610](https://togithub.com/bazelbuild/rules_rust/pull/2610) #### New Contributors - [@​Lev1ty](https://togithub.com/Lev1ty) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2606](https://togithub.com/bazelbuild/rules_rust/pull/2606) **Full Changelog**: bazelbuild/rules_rust@0.41.1...0.42.0 </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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Ideally we could set the paths to `%sysroot%include` when we know that `%sysroot%` ends with `/`, but bazel validates that the prefix is actually `%sysroot%/` so we have to keep the extra slash.
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_rust](https://togithub.com/bazelbuild/rules_rust) | http_archive | patch | `0.42.0` -> `0.42.1` | --- ### Release Notes <details> <summary>bazelbuild/rules_rust (rules_rust)</summary> ### [`v0.42.1`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.42.1) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.42.0...0.42.1) ### 0.42.1 ```python load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", integrity = "sha256-JLN47ZcAbx9wEr5Jiib4HduZATGLiDgK7oUi/fvotzU=", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.42.1/rules_rust-v0.42.1.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Fix rust module extension for Bazel pre-7.1 by [@​cameron-martin](https://togithub.com/cameron-martin) in [https://github.com/bazelbuild/rules_rust/pull/2612](https://togithub.com/bazelbuild/rules_rust/pull/2612) - Test BCR example in minimum bazel by [@​illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2613](https://togithub.com/bazelbuild/rules_rust/pull/2613) - Release 0.42.1 by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2614](https://togithub.com/bazelbuild/rules_rust/pull/2614) **Full Changelog**: bazelbuild/rules_rust@0.42.0...0.42.1 </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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rules_rust | bazel_dep | minor | `0.41.1` -> `0.42.1` | --- ### 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | platforms | bazel_dep | patch | `0.0.9` -> `0.0.10` | --- ### 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io_bazel_rules_go](https://togithub.com/bazelbuild/rules_go) | http_archive | minor | `v0.46.0` -> `v0.47.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_go (io_bazel_rules_go)</summary> ### [`v0.47.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.47.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.46.0...v0.47.0) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "af47f30e9cbd70ae34e49866e201b3f77069abb111183f2c0297e7e74ba6bbc0", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.47.0/rules_go-v0.47.0.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.47.0/rules_go-v0.47.0.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.22.2") #### What's Changed - Add Bazel version matrix to BCR `presubmit.yml` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3861](https://togithub.com/bazelbuild/rules_go/pull/3861) - Update toolchains_llvm URL and hash by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3864](https://togithub.com/bazelbuild/rules_go/pull/3864) - pass correct (non `"main"`) importpath to nogo for `main` package by [@​Strum355](https://togithub.com/Strum355) in [https://github.com/bazelbuild/rules_go/pull/3863](https://togithub.com/bazelbuild/rules_go/pull/3863) - Make exec cfg check for `//go` stricter by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3867](https://togithub.com/bazelbuild/rules_go/pull/3867) - Fixes the Bazel CI error by [@​sgowroji](https://togithub.com/sgowroji) in [https://github.com/bazelbuild/rules_go/pull/3869](https://togithub.com/bazelbuild/rules_go/pull/3869) - \[go_library] add .x file to declared output files in DefaultInfo by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3866](https://togithub.com/bazelbuild/rules_go/pull/3866) - Remove Latin-1 workaround on Bazel 6.4.0+ by [@​mattyclarkson](https://togithub.com/mattyclarkson) in [https://github.com/bazelbuild/rules_go/pull/3872](https://togithub.com/bazelbuild/rules_go/pull/3872) - fix sdk download for common execution platforms by [@​scaiper](https://togithub.com/scaiper) in [https://github.com/bazelbuild/rules_go/pull/3874](https://togithub.com/bazelbuild/rules_go/pull/3874) - Bump Go version to 1.21.8 by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3880](https://togithub.com/bazelbuild/rules_go/pull/3880) - Update README.rst to point to correct GH release tags by [@​dcarney](https://togithub.com/dcarney) in [https://github.com/bazelbuild/rules_go/pull/3881](https://togithub.com/bazelbuild/rules_go/pull/3881) - Update bzlmod.md fix typo by [@​mmrath](https://togithub.com/mmrath) in [https://github.com/bazelbuild/rules_go/pull/3882](https://togithub.com/bazelbuild/rules_go/pull/3882) - Cleanup temp dirs in GoToolchainBinaryBuild by [@​hauserx](https://togithub.com/hauserx) in [https://github.com/bazelbuild/rules_go/pull/3885](https://togithub.com/bazelbuild/rules_go/pull/3885) - gopackagesdriver: move and simplify test by [@​jayconrod](https://togithub.com/jayconrod) in [https://github.com/bazelbuild/rules_go/pull/3856](https://togithub.com/bazelbuild/rules_go/pull/3856) - Support Go version schema change since 1.21 by [@​baizhenyu](https://togithub.com/baizhenyu) in [https://github.com/bazelbuild/rules_go/pull/3891](https://togithub.com/bazelbuild/rules_go/pull/3891) - gopackagesdriver: fix version check with Bazel development versions by [@​jayconrod](https://togithub.com/jayconrod) in [https://github.com/bazelbuild/rules_go/pull/3893](https://togithub.com/bazelbuild/rules_go/pull/3893) - Revert "improving logging for subcommand failure ([#​3824](https://togithub.com/bazelbuild/rules_go/issues/3824))" by [@​linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_go/pull/3892](https://togithub.com/bazelbuild/rules_go/pull/3892) - Replace instances of to_json() method with json.encode(..) by [@​c-mita](https://togithub.com/c-mita) in [https://github.com/bazelbuild/rules_go/pull/3896](https://togithub.com/bazelbuild/rules_go/pull/3896) - add nogo parsing support for nogo explanations by [@​andyscott](https://togithub.com/andyscott) in [https://github.com/bazelbuild/rules_go/pull/3899](https://togithub.com/bazelbuild/rules_go/pull/3899) - \[nogo] match regexp againts relative paths by [@​scaiper](https://togithub.com/scaiper) in [https://github.com/bazelbuild/rules_go/pull/3898](https://togithub.com/bazelbuild/rules_go/pull/3898) - Add `bazel_features` transitive `.bzl`s to `bzl_library` targets by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3903](https://togithub.com/bazelbuild/rules_go/pull/3903) - Add //go/private:polyfill_bazel_features.bzl to sources. by [@​spags-lacework](https://togithub.com/spags-lacework) in [https://github.com/bazelbuild/rules_go/pull/3908](https://togithub.com/bazelbuild/rules_go/pull/3908) - Reformat with buildifier by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3910](https://togithub.com/bazelbuild/rules_go/pull/3910) - GoLink action. Use -extar <ar path> if cc_toolchain provides ar path by [@​OparinE](https://togithub.com/OparinE) in [https://github.com/bazelbuild/rules_go/pull/3916](https://togithub.com/bazelbuild/rules_go/pull/3916) - Mark `go_sdk` extension as `reproducible` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3911](https://togithub.com/bazelbuild/rules_go/pull/3911) - Don't ignore the return value of runfiles.merge_all() by [@​EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazelbuild/rules_go/pull/3918](https://togithub.com/bazelbuild/rules_go/pull/3918) - Use Gazelle's `go_env` in `@rules_go//go` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3909](https://togithub.com/bazelbuild/rules_go/pull/3909) - Setting test.timeout according to TEST_TIMEOUT by [@​linzhp](https://togithub.com/linzhp) in [https://github.com/bazelbuild/rules_go/pull/3920](https://togithub.com/bazelbuild/rules_go/pull/3920) - prepare rules_go v 0.47 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3923](https://togithub.com/bazelbuild/rules_go/pull/3923) #### New Contributors - [@​Strum355](https://togithub.com/Strum355) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3863](https://togithub.com/bazelbuild/rules_go/pull/3863) - [@​sgowroji](https://togithub.com/sgowroji) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3869](https://togithub.com/bazelbuild/rules_go/pull/3869) - [@​mattyclarkson](https://togithub.com/mattyclarkson) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3872](https://togithub.com/bazelbuild/rules_go/pull/3872) - [@​scaiper](https://togithub.com/scaiper) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3874](https://togithub.com/bazelbuild/rules_go/pull/3874) - [@​dcarney](https://togithub.com/dcarney) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3881](https://togithub.com/bazelbuild/rules_go/pull/3881) - [@​mmrath](https://togithub.com/mmrath) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3882](https://togithub.com/bazelbuild/rules_go/pull/3882) - [@​hauserx](https://togithub.com/hauserx) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3885](https://togithub.com/bazelbuild/rules_go/pull/3885) - [@​baizhenyu](https://togithub.com/baizhenyu) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3891](https://togithub.com/bazelbuild/rules_go/pull/3891) - [@​c-mita](https://togithub.com/c-mita) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3896](https://togithub.com/bazelbuild/rules_go/pull/3896) - [@​spags-lacework](https://togithub.com/spags-lacework) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3908](https://togithub.com/bazelbuild/rules_go/pull/3908) - [@​OparinE](https://togithub.com/OparinE) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3916](https://togithub.com/bazelbuild/rules_go/pull/3916) **Full Changelog**: bazel-contrib/rules_go@v0.46.0...v0.47.0 </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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- `clangd` because it's convenient to be able to configure a language client to use the matching version of clangd that the project is compiled with - `llvm-symbolizer` because it's also convenient
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rules_go | bazel_dep | patch | `0.47.0` -> `0.47.1` | --- ### 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io_bazel_rules_go](https://togithub.com/bazelbuild/rules_go) | http_archive | patch | `v0.47.0` -> `v0.47.1` | --- ### Release Notes <details> <summary>bazelbuild/rules_go (io_bazel_rules_go)</summary> ### [`v0.47.1`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.47.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.47.0...v0.47.1) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "f74c98d6df55217a36859c74b460e774abc0410a47cc100d822be34d5f990f16", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.47.1/rules_go-v0.47.1.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.47.1/rules_go-v0.47.1.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.22.2") #### What's Changed - bzltestutil: restore timeout signal handler by [@​sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/rules_go/pull/3929](https://togithub.com/bazelbuild/rules_go/pull/3929) - feat: support syso files in srcs. by [@​connyay](https://togithub.com/connyay) in [https://github.com/bazelbuild/rules_go/pull/3763](https://togithub.com/bazelbuild/rules_go/pull/3763) - prepare patch release 0.47.1 by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3933](https://togithub.com/bazelbuild/rules_go/pull/3933) #### New Contributors - [@​connyay](https://togithub.com/connyay) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3763](https://togithub.com/bazelbuild/rules_go/pull/3763) **Full Changelog**: bazel-contrib/rules_go@v0.47.0...v0.47.1 </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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | bazel_skylib | bazel_dep | minor | `1.5.0` -> `1.6.1` | | [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) | http_archive | minor | `1.5.0` -> `1.6.1` | --- ### Release Notes <details> <summary>bazelbuild/bazel-skylib (bazel_skylib)</summary> ### [`v1.6.1`](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.0...1.6.1) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.0...1.6.1) ### [`v1.6.0`](https://togithub.com/bazelbuild/bazel-skylib/releases/tag/1.6.0) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.5.0...1.6.0) Release 1.6.0 #### What's Changed - Add helper functions for module extensions as `modules` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/bazel-skylib/pull/457](https://togithub.com/bazelbuild/bazel-skylib/pull/457) - Make `out` on `native_binary` optional by [@​tpudlik](https://togithub.com/tpudlik) in [https://github.com/bazelbuild/bazel-skylib/pull/474](https://togithub.com/bazelbuild/bazel-skylib/pull/474) - Remove outdated rules_cc dependency [@​cpsauer](https://togithub.com/cpsauer) in [https://github.com/bazelbuild/bazel-skylib/pull/476](https://togithub.com/bazelbuild/bazel-skylib/pull/476) - Add toolchains argument to unittests.make by [@​jylinv0](https://togithub.com/jylinv0) in [https://github.com/bazelbuild/bazel-skylib/pull/483](https://togithub.com/bazelbuild/bazel-skylib/pull/483) - Allow `bzl_library` to depend on non-`bzl_library` targets by [@​Wyverald](https://togithub.com/Wyverald) in [https://github.com/bazelbuild/bazel-skylib/pull/495](https://togithub.com/bazelbuild/bazel-skylib/pull/495) #### New Contributors - [@​jylinv0](https://togithub.com/jylinv0) made their first contribution in [https://github.com/bazelbuild/bazel-skylib/pull/483](https://togithub.com/bazelbuild/bazel-skylib/pull/483) - [@​tpudlik](https://togithub.com/tpudlik) made their first contribution in [https://github.com/bazelbuild/bazel-skylib/pull/474](https://togithub.com/bazelbuild/bazel-skylib/pull/474) **Full Changelog**: bazelbuild/bazel-skylib@1.5.0...1.6.0 <!--## MODULE.bazel setup ```starlark bazel_dep(name = "bazel_skylib", version = "1.6.0") ### If the Gazelle plugin is needed: bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.6.0", dev_dependency = True) ```--> #### WORKSPACE setup load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_skylib", sha256 = "41449d7c7372d2e270e8504dfab09ee974325b0b40fdd98172c7fbe257b8bcc9" urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.6.0/bazel-skylib-1.6.0.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.0/bazel-skylib-1.6.0.tar.gz", ], ) load("@​bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() ***Additional WORKSPACE setup for the Gazelle plugin*** ```starlark http_archive( name = "bazel_skylib_gazelle_plugin", sha256 = "8700f9204f3b0a32851cdf56c63b8d8d4fcf93b96707c590d1de8d84cf07ee7d", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.6.0/bazel-skylib-gazelle-plugin-1.6.0.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.6.0/bazel-skylib-gazelle-plugin-1.6.0.tar.gz", ], ) load("@​bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace") bazel_skylib_gazelle_plugin_workspace() load("@​bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup") bazel_skylib_gazelle_plugin_setup() ``` **Using the rules** See [the source](https://togithub.com/bazelbuild/bazel-skylib/tree/1.6.0). </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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
After llvm/llvm-project#88425 seems to have been resolved there is an `x86_64-linux-gnu-ubuntu` release for llvm 18.1.4 :tada:
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_rust](https://togithub.com/bazelbuild/rules_rust) | http_archive | minor | `0.42.1` -> `0.43.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_rust (rules_rust)</summary> ### [`v0.43.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.43.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.42.1...0.43.0) ### 0.43.0 ```python load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", integrity = "sha256-SnzocNvQp1YK1TW/aUVhR6RSROo1l2RilE1V20WFnK0=", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.43.0/rules_rust-v0.43.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Bzlmod-aware runfiles library by [@​dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/bazelbuild/rules_rust/pull/2566](https://togithub.com/bazelbuild/rules_rust/pull/2566) - Add clippy_flag flag to allow flags to be added in succession. by [@​granaghan](https://togithub.com/granaghan) in [https://github.com/bazelbuild/rules_rust/pull/2625](https://togithub.com/bazelbuild/rules_rust/pull/2625) - Add aspect_rules_js to MODULE.bazel by [@​dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/bazelbuild/rules_rust/pull/2618](https://togithub.com/bazelbuild/rules_rust/pull/2618) - Register a default rust toolchain. by [@​matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2624](https://togithub.com/bazelbuild/rules_rust/pull/2624) - Nit: Fix link to example in rust_bindgen.md by [@​hauserx](https://togithub.com/hauserx) in [https://github.com/bazelbuild/rules_rust/pull/2628](https://togithub.com/bazelbuild/rules_rust/pull/2628) - Add context to error messages by [@​illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2408](https://togithub.com/bazelbuild/rules_rust/pull/2408) - Update `cargo_bootstrap_repository` interface to match dependency macros by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2630](https://togithub.com/bazelbuild/rules_rust/pull/2630) - Added debug logging for spliced manifests to crate_universe by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2629](https://togithub.com/bazelbuild/rules_rust/pull/2629) - also rewrite -isystem in addition to -sysroot by [@​adrianimboden](https://togithub.com/adrianimboden) in [https://github.com/bazelbuild/rules_rust/pull/2631](https://togithub.com/bazelbuild/rules_rust/pull/2631) - Support loading http credentials from netrc by [@​golovasteek](https://togithub.com/golovasteek) in [https://github.com/bazelbuild/rules_rust/pull/2623](https://togithub.com/bazelbuild/rules_rust/pull/2623) - Updated Buildifier version for crate_universe by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2634](https://togithub.com/bazelbuild/rules_rust/pull/2634) - Follow-up documentation/fixes to lockfile API by [@​illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2637](https://togithub.com/bazelbuild/rules_rust/pull/2637) - Add docs and examples of complicated build scripts by [@​illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2635](https://togithub.com/bazelbuild/rules_rust/pull/2635) - Added Rust 1.78.0 by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2639](https://togithub.com/bazelbuild/rules_rust/pull/2639) - Remove `incompatible_test_attr_crate_and_srcs_mutually_exclusive` by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2641](https://togithub.com/bazelbuild/rules_rust/pull/2641) - Minor cleanup for crate_universe by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2644](https://togithub.com/bazelbuild/rules_rust/pull/2644) - Use `cargo tree` to determine feature dependent optional deps by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2636](https://togithub.com/bazelbuild/rules_rust/pull/2636) - Release 0.43.0 by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2642](https://togithub.com/bazelbuild/rules_rust/pull/2642) - Update cross to fix crate_universe builds in releases by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2645](https://togithub.com/bazelbuild/rules_rust/pull/2645) #### New Contributors - [@​hauserx](https://togithub.com/hauserx) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2628](https://togithub.com/bazelbuild/rules_rust/pull/2628) - [@​adrianimboden](https://togithub.com/adrianimboden) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2631](https://togithub.com/bazelbuild/rules_rust/pull/2631) - [@​golovasteek](https://togithub.com/golovasteek) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2623](https://togithub.com/bazelbuild/rules_rust/pull/2623) **Full Changelog**: bazelbuild/rules_rust@0.42.1...0.43.0 </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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rules_rust | bazel_dep | minor | `0.42.1` -> `0.44.0` | | [rules_rust](https://togithub.com/bazelbuild/rules_rust) | http_archive | minor | `0.43.0` -> `0.44.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_rust (rules_rust)</summary> ### [`v0.44.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.44.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.43.0...0.44.0) ##### 0.44.0 ```python load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", integrity = "sha256-pt9MIrs/tDVzpMQIjvbQ+v44oOzQ+FrSH/2IiAAzcDA=", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.44.0/rules_rust-v0.44.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup ##### What's Changed - Add target for running rustfmt directly by [@​illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2648](https://togithub.com/bazelbuild/rules_rust/pull/2648) - Release 0.44.0 by [@​illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2649](https://togithub.com/bazelbuild/rules_rust/pull/2649) **Full Changelog**: bazelbuild/rules_rust@0.43.0...0.44.0 </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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_rust](https://togithub.com/bazelbuild/rules_rust) | http_archive | minor | `0.44.0` -> `0.45.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_rust (rules_rust)</summary> ### [`v0.45.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.45.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.44.0...0.45.0) ### 0.45.0 ```python load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", integrity = "sha256-0IoZbO7cp5obgv01ucsnAjrWdGpBasntBusUXtdj1aY=", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.45.0/rules_rust-v0.45.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Fix cc_common_link when using sibling repository layout by [@​yuzhy8701](https://togithub.com/yuzhy8701) in [https://github.com/bazelbuild/rules_rust/pull/2643](https://togithub.com/bazelbuild/rules_rust/pull/2643) - Allow runfiles object to be an arbitrary expression. by [@​matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2651](https://togithub.com/bazelbuild/rules_rust/pull/2651) - Allow searching for the rlocation of a module. by [@​matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2652](https://togithub.com/bazelbuild/rules_rust/pull/2652) - Add support for generated sources to rust-analyzer. by [@​matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2654](https://togithub.com/bazelbuild/rules_rust/pull/2654) - Added logging to crate_universe checksum validation by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2657](https://togithub.com/bazelbuild/rules_rust/pull/2657) - Release 0.45.0 by [@​UebelAndre](https://togithub.com/UebelAndre) in [https://github.com/bazelbuild/rules_rust/pull/2658](https://togithub.com/bazelbuild/rules_rust/pull/2658) #### New Contributors - [@​yuzhy8701](https://togithub.com/yuzhy8701) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2643](https://togithub.com/bazelbuild/rules_rust/pull/2643) **Full Changelog**: bazelbuild/rules_rust@0.44.0...0.45.0 </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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rules_rust | bazel_dep | minor | `0.44.0` -> `0.45.1` | | [rules_rust](https://togithub.com/bazelbuild/rules_rust) | http_archive | patch | `0.45.0` -> `0.45.1` | --- ### Release Notes <details> <summary>bazelbuild/rules_rust (rules_rust)</summary> ### [`v0.45.1`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.45.1) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.45.0...0.45.1) ### 0.45.1 ```python load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", integrity = "sha256-+bWb47wg0VchIADaHt6L5Dma2Gn+Q589nz/MKcTi+lo=", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.45.1/rules_rust-v0.45.1.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup #### What's Changed - Fixup from [#​2657](https://togithub.com/bazelbuild/rules_rust/issues/2657) by [@​illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2659](https://togithub.com/bazelbuild/rules_rust/pull/2659) **Full Changelog**: bazelbuild/rules_rust@0.45.0...0.45.1 </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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io_bazel_rules_go](https://togithub.com/bazelbuild/rules_go) | http_archive | minor | `v0.47.1` -> `v0.48.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_go (io_bazel_rules_go)</summary> ### [`v0.48.0`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.48.0) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.47.1...v0.48.0) #### Important Changes! `--incompatible_enable_proto_toolchain_resolution` is now supported in `rules_go`. This means that protoc should now be supplied as a toolchain. `protoc` can be registered using https://github.com/aspect-build/toolchains_protoc, or a local proto toolchain can be added. #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "33acc4ae0f70502db4b893c9fc1dd7a9bf998c23e7ff2c4517741d4049a976f8", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.22.3") #### What's Changed - Update docs to cover new FilePath ReplaceDirective Support by [@​stefanpenner](https://togithub.com/stefanpenner) in [https://github.com/bazelbuild/rules_go/pull/3931](https://togithub.com/bazelbuild/rules_go/pull/3931) - go_test: use different mnemonic for compilation by [@​sluongng](https://togithub.com/sluongng) in [https://github.com/bazelbuild/rules_go/pull/3936](https://togithub.com/bazelbuild/rules_go/pull/3936) - Add go.work support to the documentation by [@​stefanpenner](https://togithub.com/stefanpenner) in [https://github.com/bazelbuild/rules_go/pull/3932](https://togithub.com/bazelbuild/rules_go/pull/3932) - feat(mode): add `purego` tag when `pure` by [@​mattyclarkson](https://togithub.com/mattyclarkson) in [https://github.com/bazelbuild/rules_go/pull/3901](https://togithub.com/bazelbuild/rules_go/pull/3901) - generate_test_main: Move timeout handling back to bzltestutil by [@​DolceTriade](https://togithub.com/DolceTriade) in [https://github.com/bazelbuild/rules_go/pull/3939](https://togithub.com/bazelbuild/rules_go/pull/3939) - Add support for `--incompatible_enable_proto_toolchain_resolution` by [@​fmeum](https://togithub.com/fmeum) in [https://github.com/bazelbuild/rules_go/pull/3919](https://togithub.com/bazelbuild/rules_go/pull/3919) - Add exec_compatible_with to @​go_sdk//:builder by [@​EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazelbuild/rules_go/pull/3943](https://togithub.com/bazelbuild/rules_go/pull/3943) - prepare v0.48.0 release by [@​tyler-french](https://togithub.com/tyler-french) in [https://github.com/bazelbuild/rules_go/pull/3946](https://togithub.com/bazelbuild/rules_go/pull/3946) #### New Contributors - [@​stefanpenner](https://togithub.com/stefanpenner) made their first contribution in [https://github.com/bazelbuild/rules_go/pull/3931](https://togithub.com/bazelbuild/rules_go/pull/3931) **Full Changelog**: bazel-contrib/rules_go@v0.47.1...v0.48.0 </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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rules_go | bazel_dep | minor | `0.47.1` -> `0.48.0` | --- ### 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | bazel_skylib | bazel_dep | minor | `1.6.1` -> `1.7.0` | | [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) | http_archive | minor | `1.6.1` -> `1.7.0` | --- ### Release Notes <details> <summary>bazelbuild/bazel-skylib (bazel_skylib)</summary> ### [`v1.7.0`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-170) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0) **New features** - Implement `directory` rules by [@​matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510) - Add `is_normalized` and `starts_with` to paths module by [@​comius](https://togithub.com/comius) in [https://github.com/bazelbuild/bazel-skylib/pull/514](https://togithub.com/bazelbuild/bazel-skylib/pull/514) **New Contributors** - [@​matts1](https://togithub.com/matts1) made their first contribution in [https://github.com/bazelbuild/bazel-skylib/pull/510](https://togithub.com/bazelbuild/bazel-skylib/pull/510) **Full Changelog**: bazelbuild/bazel-skylib@1.6.1...1.7.0 </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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | bazel_skylib | bazel_dep | patch | `1.7.0` -> `1.7.1` | | [bazel_skylib](https://togithub.com/bazelbuild/bazel-skylib) | http_archive | patch | `1.7.0` -> `1.7.1` | --- ### Release Notes <details> <summary>bazelbuild/bazel-skylib (bazel_skylib)</summary> ### [`v1.7.1`](https://togithub.com/bazelbuild/bazel-skylib/blob/HEAD/CHANGELOG.md#Release-171) [Compare Source](https://togithub.com/bazelbuild/bazel-skylib/compare/1.7.0...1.7.1) **What's Changed** - Fix distribution tarballs to include directory rules. ([https://github.com/bazelbuild/bazel-skylib/pull/520](https://togithub.com/bazelbuild/bazel-skylib/pull/520)) **Full Changelog**: bazelbuild/bazel-skylib@1.7.0...1.7.1 </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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzcuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Otherwise Clang defaults to C++ modules with `-std=c++20`, which breaks `layering_check`. Fixes bazel-contrib#334
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rules_rust | bazel_dep | minor | `0.45.1` -> `0.46.0` | | [rules_rust](https://togithub.com/bazelbuild/rules_rust) | http_archive | minor | `0.45.1` -> `0.46.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_rust (rules_rust)</summary> ### [`v0.46.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.46.0) [Compare Source](https://togithub.com/bazelbuild/rules_rust/compare/0.45.1...0.46.0) ##### 0.46.0 ```python load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_rust", integrity = "sha256-F8U7+AC5MvMtPKGdLLnorVM84cDXKfDRgwd7/dq3rUY=", urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.46.0/rules_rust-v0.46.0.tar.gz"], ) ``` Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup ##### What's Changed - fix: default rustfmt version to supplied rust version by [@​mattem](https://togithub.com/mattem) in [https://github.com/bazelbuild/rules_rust/pull/2660](https://togithub.com/bazelbuild/rules_rust/pull/2660) - Use repo-mapping-aware runfiles API in rust-analyzer by [@​dzbarsky](https://togithub.com/dzbarsky) in [https://github.com/bazelbuild/rules_rust/pull/2666](https://togithub.com/bazelbuild/rules_rust/pull/2666) - Fix protobuf generated srcs to include all sources by [@​matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2676](https://togithub.com/bazelbuild/rules_rust/pull/2676) - Fix cargo_build_script executables. by [@​matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2675](https://togithub.com/bazelbuild/rules_rust/pull/2675) - crate_universe: Don't include crate name in build script path. by [@​criemen](https://togithub.com/criemen) in [https://github.com/bazelbuild/rules_rust/pull/2663](https://togithub.com/bazelbuild/rules_rust/pull/2663) - Ensure dynamic library dependencies end up in the runfiles directory by [@​EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazelbuild/rules_rust/pull/2671](https://togithub.com/bazelbuild/rules_rust/pull/2671) - use bazel_ci_rules bazel_dep instead of http_archive by [@​mmorel-35](https://togithub.com/mmorel-35) in [https://github.com/bazelbuild/rules_rust/pull/2678](https://togithub.com/bazelbuild/rules_rust/pull/2678) - Ensure that running `bazel build` on a cargo_build_script target actually runs the build script by [@​matts1](https://togithub.com/matts1) in [https://github.com/bazelbuild/rules_rust/pull/2680](https://togithub.com/bazelbuild/rules_rust/pull/2680) - Allow overriding crate universe packages to local packages by [@​ograff](https://togithub.com/ograff) in [https://github.com/bazelbuild/rules_rust/pull/2674](https://togithub.com/bazelbuild/rules_rust/pull/2674) - Depend on a copy of rustfmt for the target by [@​EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazelbuild/rules_rust/pull/2685](https://togithub.com/bazelbuild/rules_rust/pull/2685) - \[Bugfix] Convert metadata keys to screaming snake case instead of screaming kebab case in `cargo_build_script_runner` by [@​Pagten](https://togithub.com/Pagten) in [https://github.com/bazelbuild/rules_rust/pull/2682](https://togithub.com/bazelbuild/rules_rust/pull/2682) - Add support for override_target when using bzlmod by [@​AmeliasCode](https://togithub.com/AmeliasCode) in [https://github.com/bazelbuild/rules_rust/pull/2683](https://togithub.com/bazelbuild/rules_rust/pull/2683) - Release 0.46.0 by [@​illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_rust/pull/2686](https://togithub.com/bazelbuild/rules_rust/pull/2686) ##### New Contributors - [@​mattem](https://togithub.com/mattem) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2660](https://togithub.com/bazelbuild/rules_rust/pull/2660) - [@​EdSchouten](https://togithub.com/EdSchouten) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2671](https://togithub.com/bazelbuild/rules_rust/pull/2671) - [@​mmorel-35](https://togithub.com/mmorel-35) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2678](https://togithub.com/bazelbuild/rules_rust/pull/2678) - [@​ograff](https://togithub.com/ograff) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2674](https://togithub.com/bazelbuild/rules_rust/pull/2674) - [@​Pagten](https://togithub.com/Pagten) made their first contribution in [https://github.com/bazelbuild/rules_rust/pull/2682](https://togithub.com/bazelbuild/rules_rust/pull/2682) **Full Changelog**: bazelbuild/rules_rust@0.45.1...0.46.0 </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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
utils/llvm_checksums.sh -v 18.1.6 -g utils/llvm_checksums.sh -v 18.1.7 -g
…ntrib#343) [](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io_bazel_rules_go](https://togithub.com/bazelbuild/rules_go) | http_archive | patch | `v0.48.0` -> `v0.48.1` | --- ### Release Notes <details> <summary>bazelbuild/rules_go (io_bazel_rules_go)</summary> ### [`v0.48.1`](https://togithub.com/bazelbuild/rules_go/releases/tag/v0.48.1) [Compare Source](https://togithub.com/bazelbuild/rules_go/compare/v0.48.0...v0.48.1) #### `WORKSPACE` code load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "b2038e2de2cace18f032249cb4bb0048abf583a36369fa98f687af1b3f880b26", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.48.1/rules_go-v0.48.1.zip", "https://github.com/bazelbuild/rules_go/releases/download/v0.48.1/rules_go-v0.48.1.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.22.4") **Full Changelog**: bazel-contrib/rules_go@v0.48.0...v0.48.1 </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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rules_go | bazel_dep | patch | `0.48.0` -> `0.48.1` | --- ### 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This allows downstream repos to set this flag
…trib#351) [](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_foreign_cc](https://togithub.com/bazelbuild/rules_foreign_cc) | http_archive | minor | `0.10.1` -> `0.11.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_foreign_cc (rules_foreign_cc)</summary> ### [`v0.11.0`](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.10.1...0.11.0) [Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.10.1...0.11.0) </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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…trib#353) [](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rules_foreign_cc | bazel_dep | minor | `0.10.1` -> `0.11.1` | | [rules_foreign_cc](https://togithub.com/bazelbuild/rules_foreign_cc) | http_archive | patch | `0.11.0` -> `0.11.1` | --- ### Release Notes <details> <summary>bazelbuild/rules_foreign_cc (rules_foreign_cc)</summary> ### [`v0.11.1`](https://togithub.com/bazelbuild/rules_foreign_cc/releases/tag/0.11.1) [Compare Source](https://togithub.com/bazelbuild/rules_foreign_cc/compare/0.11.0...0.11.1) #### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_foreign_cc", version = "0.11.1") ``` #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_foreign_cc", sha256 = "4b33d62cf109bcccf286b30ed7121129cc34cf4f4ed9d8a11f38d9108f40ba74", strip_prefix = "rules_foreign_cc-0.11.1", url = "https://github.com/bazelbuild/rules_foreign_cc/releases/download/0.11.1/rules_foreign_cc-0.11.1.tar.gz", ) load("@​rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") ### This sets up some common toolchains for building targets. For more details, please see ### https://bazelbuild.github.io/rules_foreign_cc/0.11.1/flatten.html#rules_foreign_cc_dependencies rules_foreign_cc_dependencies() ``` **Full Changelog**: bazel-contrib/rules_foreign_cc@0.10.1...0.11.1 #### What's Changed - Add missing sha256 for meson_src 1.1.1 by [@​lalten](https://togithub.com/lalten) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1111](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1111) - Set an empty tools_data attribute for boost by [@​attilaolah](https://togithub.com/attilaolah) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1112](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1112) - Advertise CcInfo provider by [@​calebzulawski](https://togithub.com/calebzulawski) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1118](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1118) - Allow file targets in native_tool_toolchain() by [@​sitaktif](https://togithub.com/sitaktif) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1117](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1117) - set CC and CXX and their flags in meson by [@​xytan0056](https://togithub.com/xytan0056) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1098](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1098) - Turn off bzlmod in CI for now by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1142](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1142) - Fix `//openssl/...` by calling `openssl_setup()` by [@​bcsgh](https://togithub.com/bcsgh) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1137](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1137) - Sort tests under examples/third_party and add zlib to the list. by [@​bcsgh](https://togithub.com/bcsgh) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1136](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1136) - Use gazelle to generate bzl_library targets by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1127](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1127) - Use platform specific configs in bazelrc to reduce scope of settings by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1144](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1144) - Update to ubuntu 20.04 on RBE by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1145](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1145) - Remove explicit mention of bazel 4.x support by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1146](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1146) - Add mirrors to external repositories by [@​mishazharov](https://togithub.com/mishazharov) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1153](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1153) - Build msvc cmake with prebuilt cmake by [@​matt-sm](https://togithub.com/matt-sm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1148](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1148) - Simplify the toolchain registration for bzlmod by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1105](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1105) - Update CMake versions by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1159](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1159) - Fix tool path for nmake by [@​jsun-splunk](https://togithub.com/jsun-splunk) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1165](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1165) - chore(deps): Bump rules_apple. Fixes [#​1156](https://togithub.com/bazelbuild/rules_foreign_cc/issues/1156) by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1166](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1166) - Add make 4.4.1 by [@​novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1167](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1167) - Increase resiliency of `runnable_binary` by [@​mishazharov](https://togithub.com/mishazharov) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1134](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1134) - Fix windows examples CI by upgrading TLS trust store by [@​mishazharov](https://togithub.com/mishazharov) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1171](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1171) - Fixes the CI failure at Bazel@HEAD by [@​sgowroji](https://togithub.com/sgowroji) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1173](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1173) - Add j2objc fragment to rules by [@​sgowroji](https://togithub.com/sgowroji) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1175](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1175) - Cater for different drive letters when normalizing path by [@​matt-sm](https://togithub.com/matt-sm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1169](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1169) - Fix [#​1161](https://togithub.com/bazelbuild/rules_foreign_cc/issues/1161): set the `CMAKE` environment variables for prebuilt toolchains. by [@​thb-sb](https://togithub.com/thb-sb) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1163](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1163) - Add aarch64 to prebuild library constraints for macos by [@​dmeijboom](https://togithub.com/dmeijboom) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1176](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1176) - Use a sed delimiter that is unlikely to appear in the input by [@​mkauf](https://togithub.com/mkauf) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1184](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1184) - Update rules_apple by [@​sgowroji](https://togithub.com/sgowroji) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1190](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1190) - Fix - Copy Dir ignores hidden files on macOS by [@​LaurenceTews](https://togithub.com/LaurenceTews) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1188](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1188) - fix(docs): Port docs generation to bzlmod to fix user facing doc generation by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1193](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1193) - Revert "fix(docs): Port docs generation to bzlmod to fix user facing doc generation" by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1194](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1194) - chore(deps): Add ninja 1.12.0 and latest versions of cmake by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1192](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1192) - adjust relative msvc paths by [@​matt-sm](https://togithub.com/matt-sm) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1180](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1180) - Make pkgconfig Hermetic by [@​dstufft](https://togithub.com/dstufft) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1069](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1069) - Exclude filenames with spaces from cmake toolchains by [@​illicitonion](https://togithub.com/illicitonion) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1199](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1199) - fix: change cygpath to mixed mode by [@​jsun-splunk](https://togithub.com/jsun-splunk) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1204](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1204) - fix: path expansion on windows by [@​jsun-splunk](https://togithub.com/jsun-splunk) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1207](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1207) - Revert inadvertent direct commit to main by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1213](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1213) - Update framework.bzl to account for externalIncludes by [@​layus](https://togithub.com/layus) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1215](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1215) - chore(deps): cmake/ninja: add new versions by [@​novas0x2a](https://togithub.com/novas0x2a) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1212](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1212) - Revert "cmake: use variable expansion on generator args" by [@​jsharpe](https://togithub.com/jsharpe) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1219](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1219) - Add in custom glib patch by [@​andrewkatson](https://togithub.com/andrewkatson) in [https://github.com/bazelbuild/rules_foreign_cc/pull/1211](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1211) #### New Contributors - [@​lalten](https://togithub.com/lalten) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1111](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1111) - [@​sitaktif](https://togithub.com/sitaktif) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1117](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1117) - [@​mishazharov](https://togithub.com/mishazharov) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1153](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1153) - [@​matt-sm](https://togithub.com/matt-sm) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1148](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1148) - [@​jsun-splunk](https://togithub.com/jsun-splunk) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1165](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1165) - [@​sgowroji](https://togithub.com/sgowroji) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1173](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1173) - [@​thb-sb](https://togithub.com/thb-sb) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1163](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1163) - [@​dmeijboom](https://togithub.com/dmeijboom) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1176](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1176) - [@​mkauf](https://togithub.com/mkauf) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1184](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1184) - [@​LaurenceTews](https://togithub.com/LaurenceTews) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1188](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1188) - [@​layus](https://togithub.com/layus) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1215](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1215) - [@​andrewkatson](https://togithub.com/andrewkatson) made their first contribution in [https://github.com/bazelbuild/rules_foreign_cc/pull/1211](https://togithub.com/bazelbuild/rules_foreign_cc/pull/1211) **Full Changelog**: bazel-contrib/rules_foreign_cc@0.10.1...0.11.1 </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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ntrib#649) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com_google_protobuf](https://redirect.github.com/protocolbuffers/protobuf) | http_archive | minor | `v33.2` → `v33.3` | --- ### Release Notes <details> <summary>protocolbuffers/protobuf (com_google_protobuf)</summary> ### [`v33.3`](https://redirect.github.com/protocolbuffers/protobuf/compare/v33.2...v33.3) [Compare Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v33.2...v33.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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_python](https://redirect.github.com/bazelbuild/rules_python) | http_archive | minor | `1.7.0` → `1.8.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_python (rules_python)</summary> ### [`v1.8.0`](https://redirect.github.com/bazelbuild/rules_python/blob/HEAD/CHANGELOG.md#180---2025-12-19) [Compare Source](https://redirect.github.com/bazelbuild/rules_python/compare/1.7.0...1.8.0-rc0) [1.8.0]: https://redirect.github.com/bazel-contrib/rules_python/releases/tag/1.8.0 {#v1-8-0-known-issues} ##### Known Issues - (gazelle) Windows support for the Gazelle plugin may be broken. See [#​3416](https://redirect.github.com/bazel-contrib/rules_python/issues/3416) for details and possible workarounds. {#v1-8-0-removed} ##### Removed - (toolchain) Remove all of the python 3.8 toolchain support out of the box. Users need to pass the `TOOL_VERSIONS` that include 3.8 toolchains or use the `bzlmod` APIs to add them back. This means any hub `pip.parse` calls that target `3.8` will be ignored from now on. ([#​2704](https://redirect.github.com/bazel-contrib/rules_python/issues/2704)) {object}`python.single_version_override`, like: ```starlark python = use_extension("@​rules_python//python/extensions:python.bzl", "python") python.single_version_override( python_version = "3.8.20", sha256 = { "aarch64-apple-darwin": "2ddfc04bdb3e240f30fb782fa1deec6323799d0e857e0b63fa299218658fd3d4", "aarch64-unknown-linux-gnu": "9d8798f9e79e0fc0f36fcb95bfa28a1023407d51a8ea5944b4da711f1f75f1ed", "x86_64-apple-darwin": "68d060cd373255d2ca5b8b3441363d5aa7cc45b0c11bbccf52b1717c2b5aa8bb", "x86_64-pc-windows-msvc": "41b6709fec9c56419b7de1940d1f87fa62045aff81734480672dcb807eedc47e", "x86_64-unknown-linux-gnu": "285e141c36f88b2e9357654c5f77d1f8fb29cc25132698fe35bb30d787f38e87", }, urls = ["https://github.com/astral-sh/python-build-standalone/releases/download/20241002/cpython-{python_version}+20241002-{platform}-{build}.tar.gz"], ) ``` - (toolchain) Remove all of the python 3.9 toolchain versions except for the `3.9.25`. This version has reached EOL and will no longer receive any security fixes, please update to `3.10` or above. ([#​2704](https://redirect.github.com/bazel-contrib/rules_python/issues/2704)) - (toolchain) `ignore_root_user_error` has now been flipped to be always enabled and the `chmod` of the python toolchain directories have been removed. From now on `rules_python` always adds the `pyc` files to the glob excludes and in order to avoid any problems when using the toolchains in the repository phase, ensure that you pass `-B` to the python interpreter. ([#​2016](https://redirect.github.com/bazel-contrib/rules_python/issues/2016)) {#v1-8-0-changed} ##### Changed - (toolchains) Use toolchains from the [20251031] release. - (gazelle) Internally split modules mapping generation to be per-wheel for concurrency and caching. - (pip) `pipstar` has been enabled for all `whl_library` instances where the whl is passed through a label or downloaded using the bazel downloader ([#​2949](https://redirect.github.com/bazel-contrib/rules_python/issues/2949)). - (pypi) `pipstar` flag default has been flipped to be on by default. It can be disabled through `RULES_PYTHON_ENABLE_PIPSTAR=0` environment variable. If you do need to disable it, please add a comment to [#​2949](https://redirect.github.com/bazel-contrib/rules_python/issues/2949). - (gazelle deps) rules\_go bumped from 0.55.1 to 0.59.0 - (gazelle deps) gazelle bumped from 0.36.0 to 0.47.0 {#v1-8-0-fixed} ##### Fixed - (gazelle) Remove {obj}`py_binary` targets with invalid `srcs`. This includes files that are not generated or regular files. - (runfiles) Fix incorrect Python runfiles path assumption - the existing implementation assumes that it is always four levels below the runfiles directory, leading to incorrect path checks ([#​3085](https://redirect.github.com/bazel-contrib/rules_python/issues/3085)). - (toolchains) local toolchains now tell the `sys.abiflags` value of the underlying runtime. - (toolchains) various local toolchain fixes: add abi3 header targets, fixes to linking, Windows DLL detection, and defines for free threaded runtimes. - (toolchains) The `python_headers` target is now compatible with layering\_check. - (performance) 90% reduction in py\_binary/py\_test analysis phase cost. ([#​3381](https://redirect.github.com/bazel-contrib/rules_python/pull/3381)). - (gazelle) Fix `gazelle_python_manifest.test` so that it accesses manifest files via `runfile` path handling rather than directly ([#​3397](https://redirect.github.com/bazel-contrib/rules_python/issues/3397)). - (core rules) For the system\_python bootstrap, the runfiles root is added to sys.path. - (sphinxdocs) The sphinxdocs `.serve` target is now compatible with Bazel's `--symlink_prefix` flag ([#​3410](https://redirect.github.com/bazel-contrib/rules_python/issues/3410)). {#v1-8-0-added} ##### Added - (toolchains) `3.9.25` Python toolchain from [20251031] release. - (toolchains) `3.13.10`, `3.14.1` Python toolchain from [20251202] release. - (toolchains) `3.13.11`, `3.14.2`, `3.15.0a2` Python toolchains from [20251209] release. - (pypi) API to tell `pip.parse` which platforms users care about. This is very useful to ensure that when users do `bazel query` for their deps, they don't have to download all of the dependencies for all of the available wheels. Torch wheels can be up of 1GB and it takes a lot of time to download those, which is unnecessary if only the host platform builds are necessary to be performed. This is mainly for backwards/forwards compatibility whilst rolling out `RULES_PYTHON_ENABLE_PIPSTAR=1` by default. Users of `experimental_index_url` that perform cross-builds should add {obj}`target_platforms` to their `pip.parse` invocations, which will become mandatory if any cross-builds are required from the next release. - (py\_library) Attribute {obj}`namespace_package_files` added. It is a hint for optimizing venv creation. [20251031]: https://redirect.github.com/astral-sh/python-build-standalone/releases/tag/20251031 [20251202]: https://redirect.github.com/astral-sh/python-build-standalone/releases/tag/20251202 [20251209]: https://redirect.github.com/astral-sh/python-build-standalone/releases/tag/20251209 {#v1-7-0} </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_python](https://redirect.github.com/bazel-contrib/rules_python) | bazel_dep | minor | `1.7.0` → `1.8.0` | --- ### Release Notes <details> <summary>bazel-contrib/rules_python (rules_python)</summary> ### [`v1.8.0`](https://redirect.github.com/bazel-contrib/rules_python/blob/HEAD/CHANGELOG.md#180---2025-12-19) [Compare Source](https://redirect.github.com/bazel-contrib/rules_python/compare/1.7.0...1.8.0) [1.8.0]: https://redirect.github.com/bazel-contrib/rules_python/releases/tag/1.8.0 {#v1-8-0-known-issues} ##### Known Issues - (gazelle) Windows support for the Gazelle plugin may be broken. See [#​3416](https://redirect.github.com/bazel-contrib/rules_python/issues/3416) for details and possible workarounds. {#v1-8-0-removed} ##### Removed - (toolchain) Remove all of the python 3.8 toolchain support out of the box. Users need to pass the `TOOL_VERSIONS` that include 3.8 toolchains or use the `bzlmod` APIs to add them back. This means any hub `pip.parse` calls that target `3.8` will be ignored from now on. ([#​2704](https://redirect.github.com/bazel-contrib/rules_python/issues/2704)) {object}`python.single_version_override`, like: ```starlark python = use_extension("@​rules_python//python/extensions:python.bzl", "python") python.single_version_override( python_version = "3.8.20", sha256 = { "aarch64-apple-darwin": "2ddfc04bdb3e240f30fb782fa1deec6323799d0e857e0b63fa299218658fd3d4", "aarch64-unknown-linux-gnu": "9d8798f9e79e0fc0f36fcb95bfa28a1023407d51a8ea5944b4da711f1f75f1ed", "x86_64-apple-darwin": "68d060cd373255d2ca5b8b3441363d5aa7cc45b0c11bbccf52b1717c2b5aa8bb", "x86_64-pc-windows-msvc": "41b6709fec9c56419b7de1940d1f87fa62045aff81734480672dcb807eedc47e", "x86_64-unknown-linux-gnu": "285e141c36f88b2e9357654c5f77d1f8fb29cc25132698fe35bb30d787f38e87", }, urls = ["https://github.com/astral-sh/python-build-standalone/releases/download/20241002/cpython-{python_version}+20241002-{platform}-{build}.tar.gz"], ) ``` - (toolchain) Remove all of the python 3.9 toolchain versions except for the `3.9.25`. This version has reached EOL and will no longer receive any security fixes, please update to `3.10` or above. ([#​2704](https://redirect.github.com/bazel-contrib/rules_python/issues/2704)) - (toolchain) `ignore_root_user_error` has now been flipped to be always enabled and the `chmod` of the python toolchain directories have been removed. From now on `rules_python` always adds the `pyc` files to the glob excludes and in order to avoid any problems when using the toolchains in the repository phase, ensure that you pass `-B` to the python interpreter. ([#​2016](https://redirect.github.com/bazel-contrib/rules_python/issues/2016)) {#v1-8-0-changed} ##### Changed - (toolchains) Use toolchains from the [20251031] release. - (gazelle) Internally split modules mapping generation to be per-wheel for concurrency and caching. - (pip) `pipstar` has been enabled for all `whl_library` instances where the whl is passed through a label or downloaded using the bazel downloader ([#​2949](https://redirect.github.com/bazel-contrib/rules_python/issues/2949)). - (pypi) `pipstar` flag default has been flipped to be on by default. It can be disabled through `RULES_PYTHON_ENABLE_PIPSTAR=0` environment variable. If you do need to disable it, please add a comment to [#​2949](https://redirect.github.com/bazel-contrib/rules_python/issues/2949). - (gazelle deps) rules\_go bumped from 0.55.1 to 0.59.0 - (gazelle deps) gazelle bumped from 0.36.0 to 0.47.0 {#v1-8-0-fixed} ##### Fixed - (gazelle) Remove {obj}`py_binary` targets with invalid `srcs`. This includes files that are not generated or regular files. [#​3046](https://redirect.github.com/bazel-contrib/rules_python/pull/3046) - (runfiles) Fix incorrect Python runfiles path assumption - the existing implementation assumes that it is always four levels below the runfiles directory, leading to incorrect path checks ([#​3085](https://redirect.github.com/bazel-contrib/rules_python/issues/3085)). - (toolchains) local toolchains now tell the `sys.abiflags` value of the underlying runtime. - (toolchains) various local toolchain fixes: add abi3 header targets, fixes to linking, Windows DLL detection, and defines for free threaded runtimes. - (toolchains) The `python_headers` target is now compatible with layering\_check. - (performance) 90% reduction in py\_binary/py\_test analysis phase cost. ([#​3381](https://redirect.github.com/bazel-contrib/rules_python/pull/3381)). - (gazelle) Fix `gazelle_python_manifest.test` so that it accesses manifest files via `runfile` path handling rather than directly ([#​3397](https://redirect.github.com/bazel-contrib/rules_python/issues/3397)). - (core rules) For the system\_python bootstrap, the runfiles root is added to sys.path. - (sphinxdocs) The sphinxdocs `.serve` target is now compatible with Bazel's `--symlink_prefix` flag ([#​3410](https://redirect.github.com/bazel-contrib/rules_python/issues/3410)). {#v1-8-0-added} ##### Added - (toolchains) `3.9.25` Python toolchain from [20251031] release. - (toolchains) `3.13.10`, `3.14.1` Python toolchain from [20251202] release. - (toolchains) `3.13.11`, `3.14.2`, `3.15.0a2` Python toolchains from [20251209] release. - (pypi) API to tell `pip.parse` which platforms users care about. This is very useful to ensure that when users do `bazel query` for their deps, they don't have to download all of the dependencies for all of the available wheels. Torch wheels can be up of 1GB and it takes a lot of time to download those, which is unnecessary if only the host platform builds are necessary to be performed. This is mainly for backwards/forwards compatibility whilst rolling out `RULES_PYTHON_ENABLE_PIPSTAR=1` by default. Users of `experimental_index_url` that perform cross-builds should add {obj}`target_platforms` to their `pip.parse` invocations, which will become mandatory if any cross-builds are required from the next release. - (py\_library) Attribute {obj}`namespace_package_files` added. It is a hint for optimizing venv creation. [20251031]: https://redirect.github.com/astral-sh/python-build-standalone/releases/tag/20251031 [20251202]: https://redirect.github.com/astral-sh/python-build-standalone/releases/tag/20251202 [20251209]: https://redirect.github.com/astral-sh/python-build-standalone/releases/tag/20251209 {#v1-7-0} </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…azel-contrib#655) The fix required for Bazel 8 was already merged
…ntrib#651) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com_google_protobuf](https://redirect.github.com/protocolbuffers/protobuf) | http_archive | minor | `v33.3` → `v33.4` | --- ### Release Notes <details> <summary>protocolbuffers/protobuf (com_google_protobuf)</summary> ### [`v33.4`](https://redirect.github.com/protocolbuffers/protobuf/releases/tag/v33.4): Protocol Buffers v33.4 [Compare Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v33.3...v33.4) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Other - Refactor(bazel): publish a separate .tar.gz ([#​24065](https://redirect.github.com/protocolbuffers/protobuf/issues/24065)) ([`47b3385`](https://redirect.github.com/protocolbuffers/protobuf/commit/47b33852a15f498c49a5cd20762f2300354545e7)) - Bazel: Remove hardcoded dependency on `//:protoc` from language runtimes ([#​19679](https://redirect.github.com/protocolbuffers/protobuf/issues/19679)) ([`453cfb2`](https://redirect.github.com/protocolbuffers/protobuf/commit/453cfb23ffc36fe4cb06c4507fc6dddd7c42bd7a)) </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tar.bzl](https://redirect.github.com/bazel-contrib/tar.bzl) | http_archive | minor | `v0.7.0` → `v0.8.1` | --- ### Release Notes <details> <summary>bazel-contrib/tar.bzl (tar.bzl)</summary> ### [`v0.8.1`](https://redirect.github.com/bazel-contrib/tar.bzl/releases/tag/v0.8.1) [Compare Source](https://redirect.github.com/bazel-contrib/tar.bzl/compare/v0.8.0...v0.8.1) #### Using Bzlmod with Bazel 6 or greater 1. (Bazel 6 only) Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "tar.bzl", version = "0.8.1") ``` #### Using WORKSPACE Paste this snippet into your `WORKSPACE.bazel` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "tar.bzl", sha256 = "8bac5a2b43f9988e4e69bb03a242b9cbed2c53f9cd4c989f879aaa441bda03f4", strip_prefix = "tar.bzl-0.8.1", url = "https://github.com/bazel-contrib/tar.bzl/releases/download/v0.8.1/tar.bzl-v0.8.1.tar.gz", ) load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") ###################### # tar.bzl dependencies # ###################### http_archive( name = "bazel_skylib", sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f", urls = [ "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", ], ) http_archive( name = "aspect_bazel_lib", sha256 = "db7da732db4dece80cd6d368220930950c9306ff356ebba46498fe64e65a3945", strip_prefix = "bazel-lib-2.19.3", url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.19.3/bazel-lib-v2.19.3.tar.gz", ) http_archive( name = "bazel_lib", sha256 = "6fd3b1e1a38ca744f9664be4627ced80895c7d2ee353891c172f1ab61309c933", strip_prefix = "bazel-lib-3.0.0", url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.0.0/bazel-lib-v3.0.0.tar.gz", ) # Back-port https://github.com/bazelbuild/bazel-central-registry/blob/main/modules/gawk/5.3.2.bcr.1/source.json # to WORKSPACE semantics http_archive( name = "gawk", integrity = "sha256-+MNIZQnecFGSE4sA7ywAu73Q6Eww1cB9I/xzqdxMycw=", remote_file_integrity = { "BUILD.bazel": "sha256-dt89+9IJ3UzQvoKzyXOiBoF6ok/4u4G0cb0Ja+plFy0=", "posix/config_darwin.h": "sha256-gPVRlvtdXPw4Ikwd5S89wPPw5AaiB2HTHa1KOtj40mU=", "posix/config_linux.h": "sha256-iEaeXYBUCvprsIEEi5ipwqt0JV8d73+rLgoBYTegC6Q=", }, remote_file_urls = { f: ["https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/refs/heads/main/modules/gawk/5.3.2.bcr.1/overlay/" + f] for f in [ "BUILD.bazel", "posix/config_darwin.h", "posix/config_linux.h", ] }, strip_prefix = "gawk-5.3.2", urls = ["https://ftpmirror.gnu.org/gnu/gawk/gawk-5.3.2.tar.xz"], ) ###################### # setup # ###################### load("@​tar.bzl//tar:extensions.bzl", "create_repositories") create_repositories() register_toolchains("@​bsd_tar_toolchains//:all") load("@​bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "bazel_lib_register_toolchains") bazel_lib_dependencies() bazel_lib_register_toolchains() load("@​bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@​platforms//host:extension.bzl", "host_platform_repo") maybe( host_platform_repo, name = "host_platform", ) ``` #### What's Changed - docs: How to unset compression by [@​hofbi](https://redirect.github.com/hofbi) in [#​85](https://redirect.github.com/bazel-contrib/tar.bzl/pull/85) - docs: correct README instructions on no-remote-cache by [@​jmhodges](https://redirect.github.com/jmhodges) in [#​80](https://redirect.github.com/bazel-contrib/tar.bzl/pull/80) - chore: pre-commit autoupdate by [@​hofbi](https://redirect.github.com/hofbi) in [#​83](https://redirect.github.com/bazel-contrib/tar.bzl/pull/83) - chore: Don't use EOL OSes in BCR presubmit by [@​hofbi](https://redirect.github.com/hofbi) in [#​87](https://redirect.github.com/bazel-contrib/tar.bzl/pull/87) - chore(docs): document compress options in the top-level API doc by [@​alexeagle](https://redirect.github.com/alexeagle) in [#​84](https://redirect.github.com/bazel-contrib/tar.bzl/pull/84) - feat: under -c opt, automatically compress by [@​alexeagle](https://redirect.github.com/alexeagle) in [#​89](https://redirect.github.com/bazel-contrib/tar.bzl/pull/89) #### New Contributors - [@​hofbi](https://redirect.github.com/hofbi) made their first contribution in [#​85](https://redirect.github.com/bazel-contrib/tar.bzl/pull/85) - [@​jmhodges](https://redirect.github.com/jmhodges) made their first contribution in [#​80](https://redirect.github.com/bazel-contrib/tar.bzl/pull/80) **Full Changelog**: <bazel-contrib/tar.bzl@v0.7.0...v0.8.1> ### [`v0.8.0`](https://redirect.github.com/bazel-contrib/tar.bzl/releases/tag/v0.8.0) [Compare Source](https://redirect.github.com/bazel-contrib/tar.bzl/compare/v0.7.0...v0.8.0) #### Using Bzlmod with Bazel 6 or greater 1. (Bazel 6 only) Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "tar.bzl", version = "0.8.0") ``` #### Using WORKSPACE Paste this snippet into your `WORKSPACE.bazel` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "tar.bzl", sha256 = "e74dff749f78b5e15ed1b318c6c91ea90104066439a9d4dcc268a0116a3eec92", strip_prefix = "tar.bzl-0.8.0", url = "https://github.com/bazel-contrib/tar.bzl/releases/download/v0.8.0/tar.bzl-v0.8.0.tar.gz", ) load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") ###################### # tar.bzl dependencies # ###################### http_archive( name = "bazel_skylib", sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f", urls = [ "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", ], ) http_archive( name = "aspect_bazel_lib", sha256 = "db7da732db4dece80cd6d368220930950c9306ff356ebba46498fe64e65a3945", strip_prefix = "bazel-lib-2.19.3", url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.19.3/bazel-lib-v2.19.3.tar.gz", ) http_archive( name = "bazel_lib", sha256 = "6fd3b1e1a38ca744f9664be4627ced80895c7d2ee353891c172f1ab61309c933", strip_prefix = "bazel-lib-3.0.0", url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.0.0/bazel-lib-v3.0.0.tar.gz", ) # Back-port https://github.com/bazelbuild/bazel-central-registry/blob/main/modules/gawk/5.3.2.bcr.1/source.json # to WORKSPACE semantics http_archive( name = "gawk", integrity = "sha256-+MNIZQnecFGSE4sA7ywAu73Q6Eww1cB9I/xzqdxMycw=", remote_file_integrity = { "BUILD.bazel": "sha256-dt89+9IJ3UzQvoKzyXOiBoF6ok/4u4G0cb0Ja+plFy0=", "posix/config_darwin.h": "sha256-gPVRlvtdXPw4Ikwd5S89wPPw5AaiB2HTHa1KOtj40mU=", "posix/config_linux.h": "sha256-iEaeXYBUCvprsIEEi5ipwqt0JV8d73+rLgoBYTegC6Q=", }, remote_file_urls = { f: ["https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/refs/heads/main/modules/gawk/5.3.2.bcr.1/overlay/" + f] for f in [ "BUILD.bazel", "posix/config_darwin.h", "posix/config_linux.h", ] }, strip_prefix = "gawk-5.3.2", urls = ["https://ftpmirror.gnu.org/gnu/gawk/gawk-5.3.2.tar.xz"], ) ###################### # setup # ###################### load("@​tar.bzl//tar:extensions.bzl", "create_repositories") create_repositories() register_toolchains("@​bsd_tar_toolchains//:all") load("@​bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "bazel_lib_register_toolchains") bazel_lib_dependencies() bazel_lib_register_toolchains() load("@​bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@​platforms//host:extension.bzl", "host_platform_repo") maybe( host_platform_repo, name = "host_platform", ) ``` #### What's Changed - docs: How to unset compression by [@​hofbi](https://redirect.github.com/hofbi) in [#​85](https://redirect.github.com/bazel-contrib/tar.bzl/pull/85) - docs: correct README instructions on no-remote-cache by [@​jmhodges](https://redirect.github.com/jmhodges) in [#​80](https://redirect.github.com/bazel-contrib/tar.bzl/pull/80) - chore: pre-commit autoupdate by [@​hofbi](https://redirect.github.com/hofbi) in [#​83](https://redirect.github.com/bazel-contrib/tar.bzl/pull/83) - chore: Don't use EOL OSes in BCR presubmit by [@​hofbi](https://redirect.github.com/hofbi) in [#​87](https://redirect.github.com/bazel-contrib/tar.bzl/pull/87) - chore(docs): document compress options in the top-level API doc by [@​alexeagle](https://redirect.github.com/alexeagle) in [#​84](https://redirect.github.com/bazel-contrib/tar.bzl/pull/84) - feat: under -c opt, automatically compress by [@​alexeagle](https://redirect.github.com/alexeagle) in [#​89](https://redirect.github.com/bazel-contrib/tar.bzl/pull/89) #### New Contributors - [@​hofbi](https://redirect.github.com/hofbi) made their first contribution in [#​85](https://redirect.github.com/bazel-contrib/tar.bzl/pull/85) - [@​jmhodges](https://redirect.github.com/jmhodges) made their first contribution in [#​80](https://redirect.github.com/bazel-contrib/tar.bzl/pull/80) **Full Changelog**: <bazel-contrib/tar.bzl@v0.7.0...v0.8.0> </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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41NC4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…rib#643) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [aspect_bazel_lib](https://redirect.github.com/aspect-build/bazel-lib) | http_archive | minor | `v3.0.1` → `v3.1.1` | --- ### Release Notes <details> <summary>aspect-build/bazel-lib (aspect_bazel_lib)</summary> ### [`v3.1.1`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v3.1.1) [Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v3.1.0...v3.1.1) #### Using Bzlmod Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "bazel_lib", version = "3.1.1") ``` #### Using WORKSPACE (deprecated) Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_lib", sha256 = "06cbcd5b98af3f530d20b505a89fb6761f09950b780cdd7726df42ee84b49d04", strip_prefix = "bazel-lib-3.1.1", url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.1.1/bazel-lib-v3.1.1.tar.gz", ) load("@​bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "bazel_lib_register_toolchains") # Required bazel-lib dependencies bazel_lib_dependencies() # Required rules_shell dependencies load("@​rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains") rules_shell_dependencies() rules_shell_toolchains() # Register bazel-lib toolchains bazel_lib_register_toolchains() # Create the host platform repository transitively required by bazel-lib load("@​bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@​platforms//host:extension.bzl", "host_platform_repo") maybe( host_platform_repo, name = "host_platform", ) ``` #### What's Changed - refactor: shorter patch for release by [@​alexeagle](https://redirect.github.com/alexeagle) in [bazel-contrib#1226](https://redirect.github.com/bazel-contrib/bazel-lib/pull/1226) - fix: Using "current\_working\_dir" instead of "runfiles\_dir" at write\_source\_files by [@​tokup](https://redirect.github.com/tokup) in [bazel-contrib#1232](https://redirect.github.com/bazel-contrib/bazel-lib/pull/1232) - fix: Windows batch file line endings to avoid cmd parsing bug by [@​rdesgroppes](https://redirect.github.com/rdesgroppes) in [bazel-contrib#1222](https://redirect.github.com/bazel-contrib/bazel-lib/pull/1222) #### New Contributors - [@​tokup](https://redirect.github.com/tokup) made their first contribution in [bazel-contrib#1232](https://redirect.github.com/bazel-contrib/bazel-lib/pull/1232) - [@​rdesgroppes](https://redirect.github.com/rdesgroppes) made their first contribution in [bazel-contrib#1222](https://redirect.github.com/bazel-contrib/bazel-lib/pull/1222) **Full Changelog**: <bazel-contrib/bazel-lib@v3.1.0...v3.1.1> ### [`v3.1.0`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v3.1.0) [Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v3.0.1...v3.1.0) #### Using Bzlmod Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "bazel_lib", version = "3.1.0") ``` #### Using WORKSPACE (deprecated) Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_lib", sha256 = "fd0fe4df9b6b7837d5fd765c04ffcea462530a08b3d98627fb6be62a693f4e12", strip_prefix = "bazel-lib-3.1.0", url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.1.0/bazel-lib-v3.1.0.tar.gz", ) load("@​bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "bazel_lib_register_toolchains") # Required bazel-lib dependencies bazel_lib_dependencies() # Required rules_shell dependencies load("@​rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains") rules_shell_dependencies() rules_shell_toolchains() # Register bazel-lib toolchains bazel_lib_register_toolchains() # Create the host platform repository transitively required by bazel-lib load("@​bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@​platforms//host:extension.bzl", "host_platform_repo") maybe( host_platform_repo, name = "host_platform", ) ``` #### What's Changed - chore: Update OS version in presubmit configuration by [@​hofbi](https://redirect.github.com/hofbi) in [bazel-contrib#1212](https://redirect.github.com/bazel-contrib/bazel-lib/pull/1212) - feat: Enable some path-mapping support in common rules by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [bazel-contrib#1217](https://redirect.github.com/bazel-contrib/bazel-lib/pull/1217) - perf: Remove no-sandbox from copy exec requirements by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [bazel-contrib#1220](https://redirect.github.com/bazel-contrib/bazel-lib/pull/1220) - refactor: update coreutils to 0.5.0 by [@​jbedard](https://redirect.github.com/jbedard) in [bazel-contrib#1221](https://redirect.github.com/bazel-contrib/bazel-lib/pull/1221) **Full Changelog**: <bazel-contrib/bazel-lib@v3.0.1...v3.1.0> </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_python](https://redirect.github.com/bazel-contrib/rules_python) | bazel_dep | patch | `1.8.0` → `1.8.3` | | [rules_python](https://redirect.github.com/bazelbuild/rules_python) | http_archive | patch | `1.8.0` → `1.8.3` | --- ### Release Notes <details> <summary>bazel-contrib/rules_python (rules_python)</summary> ### [`v1.8.3`](https://redirect.github.com/bazel-contrib/rules_python/blob/HEAD/CHANGELOG.md#183---2026-01-27) [Compare Source](https://redirect.github.com/bazel-contrib/rules_python/compare/1.8.2...1.8.3) {#v1-8-3-fixed} ##### Fixed - (pipstar) Fix whl extraction on Windows when bazelrc has XX flags. Fixes [#​3543](https://redirect.github.com/bazel-contrib/rules_python/issues/3543). {#v1-8-2} ### [`v1.8.2`](https://redirect.github.com/bazel-contrib/rules_python/blob/HEAD/CHANGELOG.md#182---2026-01-24) [Compare Source](https://redirect.github.com/bazel-contrib/rules_python/compare/1.8.1...1.8.2) {#v1-8-2-fixed} ##### Fixed - (venvs) relax the C library filename check to make tensorflow work Fixes [#​3524](https://redirect.github.com/bazel-contrib/rules_python/issues/3529). {#v1-8-1} ### [`v1.8.1`](https://redirect.github.com/bazel-contrib/rules_python/blob/HEAD/CHANGELOG.md#181---2026-01-20) [Compare Source](https://redirect.github.com/bazel-contrib/rules_python/compare/1.8.0...1.8.1) {#v1-8-1-fixed} ##### Fixed - (pipstar) Extra resolution that refers back to the package being resolved works again. Fixes [#​3524](https://redirect.github.com/bazel-contrib/rules_python/issues/3524). {#v1-8-0} </details> <details> <summary>bazelbuild/rules_python (rules_python)</summary> ### [`v1.8.3`](https://redirect.github.com/bazel-contrib/rules_python/releases/tag/1.8.3) [Compare Source](https://redirect.github.com/bazelbuild/rules_python/compare/1.8.2...1.8.3) For more detailed setup instructions, see <https://rules-python.readthedocs.io/en/latest/getting-started.html> For the user-facing changelog see [here](https://rules-python.readthedocs.io/en/latest/changelog.html#v1-8-3) #### Using Bzlmod Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_python", version = "1.8.3") python = use_extension("@​rules_python//python/extensions:python.bzl", "python") python.toolchain( python_version = "3.13", ) pip = use_extension("@​rules_python//python/extensions:pip.bzl", "pip") pip.parse( hub_name = "pypi", python_version = "3.13", requirements_lock = "//:requirements_lock.txt", ) use_repo(pip, "pypi") ``` #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_python", sha256 = "94a2b4c5d9c45323a9737f8de8f841923bb628cace1e8e51fec5525ed9ccfb2d", strip_prefix = "rules_python-1.8.3", url = "https://github.com/bazel-contrib/rules_python/releases/download/1.8.3/rules_python-1.8.3.tar.gz", ) load("@​rules_python//python:repositories.bzl", "py_repositories") py_repositories() ``` ##### Gazelle plugin Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_python_gazelle_plugin", sha256 = "94a2b4c5d9c45323a9737f8de8f841923bb628cace1e8e51fec5525ed9ccfb2d", strip_prefix = "rules_python-1.8.3/gazelle", url = "https://github.com/bazel-contrib/rules_python/releases/download/1.8.3/rules_python-1.8.3.tar.gz", ) # To compile the rules_python gazelle extension from source, # we must fetch some third-party go dependencies that it uses. load("@​rules_python_gazelle_plugin//:deps.bzl", _py_gazelle_deps = "gazelle_deps") _py_gazelle_deps() ``` **Full Changelog**: <bazel-contrib/rules_python@1.8.2...1.8.3> ### [`v1.8.2`](https://redirect.github.com/bazel-contrib/rules_python/releases/tag/1.8.2) [Compare Source](https://redirect.github.com/bazelbuild/rules_python/compare/1.8.1...1.8.2) For more detailed setup instructions, see <https://rules-python.readthedocs.io/en/latest/getting-started.html> For the user-facing changelog see [here](https://rules-python.readthedocs.io/en/latest/changelog.html#v1-8-2) #### Using Bzlmod Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_python", version = "1.8.2") python = use_extension("@​rules_python//python/extensions:python.bzl", "python") python.toolchain( python_version = "3.13", ) pip = use_extension("@​rules_python//python/extensions:pip.bzl", "pip") pip.parse( hub_name = "pypi", python_version = "3.13", requirements_lock = "//:requirements_lock.txt", ) use_repo(pip, "pypi") ``` #### Using WORKSPACE Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_python", sha256 = "6810ff4b137b62e86ce3cedfebeeb2c988d8c5a16c4fc8081da21ad8f998a141", strip_prefix = "rules_python-1.8.2", url = "https://github.com/bazel-contrib/rules_python/releases/download/1.8.2/rules_python-1.8.2.tar.gz", ) load("@​rules_python//python:repositories.bzl", "py_repositories") py_repositories() ``` ##### Gazelle plugin Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_python_gazelle_plugin", sha256 = "6810ff4b137b62e86ce3cedfebeeb2c988d8c5a16c4fc8081da21ad8f998a141", strip_prefix = "rules_python-1.8.2/gazelle", url = "https://github.com/bazel-contrib/rules_python/releases/download/1.8.2/rules_python-1.8.2.tar.gz", ) # To compile the rules_python gazelle extension from source, # we must fetch some third-party go dependencies that it uses. load("@​rules_python_gazelle_plugin//:deps.bzl", _py_gazelle_deps = "gazelle_deps") _py_gazelle_deps() ``` **Full Changelog**: <bazel-contrib/rules_python@1.8.1...1.8.2> ### [`v1.8.1`](https://redirect.github.com/bazelbuild/rules_python/blob/HEAD/CHANGELOG.md#181---2026-01-20) [Compare Source](https://redirect.github.com/bazelbuild/rules_python/compare/1.8.0...1.8.1) {#v1-8-1-fixed} ##### Fixed - (pipstar) Extra resolution that refers back to the package being resolved works again. Fixes [#​3524](https://redirect.github.com/bazel-contrib/rules_python/issues/3524). {#v1-8-0} </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 is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ib#659) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [bazel_features](https://redirect.github.com/bazel-contrib/bazel_features) | http_archive | minor | `v1.39.0` → `v1.41.0` | --- ### Release Notes <details> <summary>bazel-contrib/bazel_features (bazel_features)</summary> ### [`v1.41.0`](https://redirect.github.com/bazel-contrib/bazel_features/releases/tag/v1.41.0) [Compare Source](https://redirect.github.com/bazel-contrib/bazel_features/compare/v1.39.0...v1.41.0) #### Using Bzlmod with Bazel 6 1. Enable with `common --enable_bzlmod` in `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "bazel_features", version = "1.41.0") ``` #### Using WORKSPACE Paste this snippet into your file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_features", sha256 = "966c211ec42c4deb2af4c6dd6948408100b752f61753c97055bdac9bfb5cc0c7", strip_prefix = "bazel_features-1.41.0", url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.41.0/bazel_features-v1.41.0.tar.gz", ) load("@​bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() ``` #### What's Changed - Simplify and update CI setup by [@​fmeum](https://redirect.github.com/fmeum) in [#​123](https://redirect.github.com/bazel-contrib/bazel_features/pull/123) - Add symlink\_action\_has\_target\_type by [@​Mivr](https://redirect.github.com/Mivr) in [#​124](https://redirect.github.com/bazel-contrib/bazel_features/pull/124) - chore: generate stardocs on releases by [@​alexeagle](https://redirect.github.com/alexeagle) in [#​116](https://redirect.github.com/bazel-contrib/bazel_features/pull/116) - Migrate to the Publish to BCR workflow by [@​fmeum](https://redirect.github.com/fmeum) in [#​125](https://redirect.github.com/bazel-contrib/bazel_features/pull/125) #### New Contributors - [@​Mivr](https://redirect.github.com/Mivr) made their first contribution in [#​124](https://redirect.github.com/bazel-contrib/bazel_features/pull/124) **Full Changelog**: <bazel-contrib/bazel_features@v1.39.0...v1.41.0> </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ntrib#661) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com_google_protobuf](https://redirect.github.com/protocolbuffers/protobuf) | http_archive | minor | `v33.4` → `v33.5` | --- ### Release Notes <details> <summary>protocolbuffers/protobuf (com_google_protobuf)</summary> ### [`v33.5`](https://redirect.github.com/protocolbuffers/protobuf/compare/v33.4...v33.5) [Compare Source](https://redirect.github.com/protocolbuffers/protobuf/compare/v33.4...v33.5) </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…rib#663) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [aspect_bazel_lib](https://redirect.github.com/aspect-build/bazel-lib) | http_archive | minor | `v3.1.1` → `v3.2.0` | --- ### Release Notes <details> <summary>aspect-build/bazel-lib (aspect_bazel_lib)</summary> ### [`v3.2.0`](https://redirect.github.com/bazel-contrib/bazel-lib/releases/tag/v3.2.0) [Compare Source](https://redirect.github.com/aspect-build/bazel-lib/compare/v3.1.1...v3.2.0) #### Using Bzlmod Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "bazel_lib", version = "3.2.0") ``` #### Using WORKSPACE (deprecated) Paste this snippet into your `WORKSPACE` file: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "bazel_lib", sha256 = "e733937de2f542436c5d3d618e22c638489b40dfd251284050357babe71103d7", strip_prefix = "bazel-lib-3.2.0", url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v3.2.0/bazel-lib-v3.2.0.tar.gz", ) load("@​bazel_lib//lib:repositories.bzl", "bazel_lib_dependencies", "bazel_lib_register_toolchains") # Required bazel-lib dependencies bazel_lib_dependencies() # Required rules_shell dependencies load("@​rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains") rules_shell_dependencies() rules_shell_toolchains() # Register bazel-lib toolchains bazel_lib_register_toolchains() # Create the host platform repository transitively required by bazel-lib load("@​bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@​platforms//host:extension.bzl", "host_platform_repo") maybe( host_platform_repo, name = "host_platform", ) ``` #### What's Changed - feat: expand the usefulness of resource\_sets by [@​novas0x2a](https://redirect.github.com/novas0x2a) in [bazel-contrib#1235](https://redirect.github.com/bazel-contrib/bazel-lib/pull/1235) - chore(deps): update bazel-contrib/publish-to-bcr action to v1 by [@​renovate](https://redirect.github.com/renovate)\[bot] in [bazel-contrib#1208](https://redirect.github.com/bazel-contrib/bazel-lib/pull/1208) **Full Changelog**: <bazel-contrib/bazel-lib@v3.1.1...v3.2.0> </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_cc](https://redirect.github.com/bazelbuild/rules_cc) | bazel_dep | patch | `0.2.15` → `0.2.16` | | [rules_cc](https://redirect.github.com/bazelbuild/rules_cc) | http_archive | patch | `0.2.15` → `0.2.16` | --- ### Release Notes <details> <summary>bazelbuild/rules_cc (rules_cc)</summary> ### [`v0.2.16`](https://redirect.github.com/bazelbuild/rules_cc/releases/tag/0.2.16) [Compare Source](https://redirect.github.com/bazelbuild/rules_cc/compare/0.2.15...0.2.16) #### Using bzlmod with Bazel 6 or later: 1. \[Bazel 6] Add `common --enable_bzlmod` to `.bazelrc`. 2. Add to your `MODULE.bazel` file: ```starlark bazel_dep(name = "rules_cc", version = "0.2.16") ``` #### Using WORKSPACE: ```starlark load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_cc", sha256 = "458b658277ba51b4730ea7a2020efdf1c6dcadf7d30de72e37f4308277fa8c01", strip_prefix = "rules_cc-0.2.16", url = "https://github.com/bazelbuild/rules_cc/releases/download/0.2.16/rules_cc-0.2.16.tar.gz", ) load("@​rules_cc//cc:extensions.bzl", "compatibility_proxy_repo") compatibility_proxy_repo() ``` **Full Changelog**: <bazelbuild/rules_cc@0.2.15...0.2.16> </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 is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Both https://chainguard.dev and https://wolfi.dev are rolling glibc based distributions for x86_64 and arm64. The typical rolling distribution toolchain resolution as done for arch is sufficient for these as well.
…rib#667) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [boringssl](https://redirect.github.com/google/boringssl) | http_archive | minor | `0.20251124.0` → `0.20260204.0` | --- ### Release Notes <details> <summary>google/boringssl (boringssl)</summary> ### [`v0.20260204.0`](https://redirect.github.com/google/boringssl/releases/tag/0.20260204.0) [Compare Source](https://redirect.github.com/google/boringssl/compare/0.20251124.0...0.20260204.0) **Full Changelog**: <google/boringssl@0.20251124.0...0.20260204.0> </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_java](https://redirect.github.com/bazelbuild/rules_java) | http_archive | minor | `9.3.0` → `9.4.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_java (rules_java)</summary> ### [`v9.4.0`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/9.4.0) [Compare Source](https://redirect.github.com/bazelbuild/rules_java/compare/9.3.0...9.4.0) **Changes since 9.3.0** [`7eb8b69`](https://redirect.github.com/bazelbuild/rules_java/commit/7eb8b69c07712d2502b2a78b7fe9f30e3054a422) Release `@rules_java` `v9.4.0` [`4566a5d`](https://redirect.github.com/bazelbuild/rules_java/commit/4566a5d621cd7943eda31aba6f63049cb43aef66) Fix `java_single_jar` compatibility with Bazel 7 [`bef4f98`](https://redirect.github.com/bazelbuild/rules_java/commit/bef4f9893536fd1b41589a44a85863dc6b81e1b0) Add testing for Bazel 9 to `@rules_java` CI [`d2d7258`](https://redirect.github.com/bazelbuild/rules_java/commit/d2d725805f1ee6ec8d109a698059ae7a683eb37f) Add remote JDK 25 for riscv64, ppc64le and s390x ([#​347](https://redirect.github.com/bazelbuild/rules_java/issues/347)) [`ad1b9c8`](https://redirect.github.com/bazelbuild/rules_java/commit/ad1b9c839f1de28ef0413fab334b5bf8c806ed41) upgrade jdk25 to 25.0.2 ([#​349](https://redirect.github.com/bazelbuild/rules_java/issues/349)) [`1824a55`](https://redirect.github.com/bazelbuild/rules_java/commit/1824a5548e56ecd337687ff32baf98e37ddd6b16) Add `--sun-misc-unsafe-memory-access=allow` to `JavaBuilder`'s jvm flags [`7372e8c`](https://redirect.github.com/bazelbuild/rules_java/commit/7372e8ccb873074bea26cb9906fcd007b03ad8f9) chore(docs): add quickstart template link to README ([#​344](https://redirect.github.com/bazelbuild/rules_java/issues/344)) [`243a1d4`](https://redirect.github.com/bazelbuild/rules_java/commit/243a1d4f4b41d5c923868c94b3ebc6d8782580e6) Fix a `.jar` file in `java_import.runtime_deps` [`e910554`](https://redirect.github.com/bazelbuild/rules_java/commit/e910554011ae22d697ccf371d3f38f56b0721516) Fix `@rules_java` CI after <https://github.com/bazelbuild/buildtools/releases/tag/v8.5.1> [`e0bcbba`](https://redirect.github.com/bazelbuild/rules_java/commit/e0bcbba9d24771be7b885676298e14ce3058d84d) Fix javacopts make variable expansion regression ([#​346](https://redirect.github.com/bazelbuild/rules_java/issues/346)) [`624b208`](https://redirect.github.com/bazelbuild/rules_java/commit/624b2083103705e583ea4a17a7f3f902aa921412) avoid loading from defs.bzl ([#​341](https://redirect.github.com/bazelbuild/rules_java/issues/341)) [`aa0345c`](https://redirect.github.com/bazelbuild/rules_java/commit/aa0345c749ae24b4ff3e9ca92e52bbcd96bc135a) Instruct `java_binary` not to compress `protobuf.meta`. [`59e9cb5`](https://redirect.github.com/bazelbuild/rules_java/commit/59e9cb58e40b54035e58a1b373ee207b10912e63) Automatic code cleanup. **MODULE.bazel setup** ``` bazel_dep(name = "rules_java", version = "9.4.0") ``` **WORKSPACE setup** With Bazel 8.0.0 and before 8.3.0, add the following to your file: ``` ### bazelbuild/bazel#26119 common --repositories_without_autoloads=bazel_features_version,bazel_features_globals ``` In all cases, add the following to your file: ``` load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_java", urls = [ "https://github.com/bazelbuild/rules_java/releases/download/9.4.0/rules_java-9.4.0.tar.gz", ], sha256 = "f1c2526c8011f5082c9080f617799d6fbbf9fbe18ab132d09f561be6d543ea49", ) http_archive( name = "bazel_features", sha256 = "a660027f5a87f13224ab54b8dc6e191693c554f2692fcca46e8e29ee7dabc43b", strip_prefix = "bazel_features-1.30.0", url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.30.0/bazel_features-v1.30.0.tar.gz", ) load("@​bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies") rules_java_dependencies() ### note that the following line is what is minimally required from protobuf for the java rules ### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl load("@​com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility proto_bazel_features(name = "proto_bazel_features") ### register toolchains load("@​rules_java//java:repositories.bzl", "rules_java_toolchains") rules_java_toolchains() ``` **Using the rules** See [the source](https://redirect.github.com/bazelbuild/rules_java/tree/9.4.0). </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45NS4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTUuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
I tested locally with Buildroot sysroot.
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_go](https://redirect.github.com/bazelbuild/rules_go) | bazel_dep | minor | `0.59.0` → `0.60.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_go (rules_go)</summary> ### [`v0.60.0`](https://redirect.github.com/bazel-contrib/rules_go/releases/tag/v0.60.0) #### `MODULE.bazel` code ``` bazel_dep(name = "rules_go", version = "0.60.0") go_sdk = use_extension("@​rules_go//go:extensions.bzl", "go_sdk") go_sdk.from_file(go_mod = "//:go.mod") ``` #### `WORKSPACE` code ``` load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "86d3dc8f59d253524f933aaf2f3c05896cb0b605fc35b460c0b4b039996124c6", urls = [ "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.60.0/rules_go-v0.60.0.zip", "https://github.com/bazel-contrib/rules_go/releases/download/v0.60.0/rules_go-v0.60.0.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.25.7") # Create the host platform repository transitively required by rules_go. load("@​bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@​platforms//host:extension.bzl", "host_platform_repo") maybe( host_platform_repo, name = "host_platform", ) ``` #### What's Changed - Document Gazelle `go_tools.bzl` functionality by [@​mrdomino](https://redirect.github.com/mrdomino) in [bazel-contrib#4496](https://redirect.github.com/bazel-contrib/rules_go/pull/4496) - Transition request\_nogo to False for cgo\_context\_data by [@​cerisier](https://redirect.github.com/cerisier) in [bazel-contrib#4512](https://redirect.github.com/bazel-contrib/rules_go/pull/4512) - proto: Pass in the plugin as tools to preserve runfiles by [@​DolceTriade](https://redirect.github.com/DolceTriade) in [bazel-contrib#4514](https://redirect.github.com/bazel-contrib/rules_go/pull/4514) - Default link mode to PIE on supported platforms by [@​alextercete](https://redirect.github.com/alextercete) in [bazel-contrib#4481](https://redirect.github.com/bazel-contrib/rules_go/pull/4481) - go/tools/gopackagesdriver: don't filter GoFiles for tags by [@​fionera](https://redirect.github.com/fionera) in [bazel-contrib#4519](https://redirect.github.com/bazel-contrib/rules_go/pull/4519) - Update Coverage link in README.rst by [@​bluec0re](https://redirect.github.com/bluec0re) in [bazel-contrib#4523](https://redirect.github.com/bazel-contrib/rules_go/pull/4523) - Exclude cgotest from stdlib build by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [bazel-contrib#4524](https://redirect.github.com/bazel-contrib/rules_go/pull/4524) - Rename host\_go{arch,os} to exec\_ by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [bazel-contrib#4525](https://redirect.github.com/bazel-contrib/rules_go/pull/4525) - Start migrating rules\_go workspace to bzlmod by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [bazel-contrib#4526](https://redirect.github.com/bazel-contrib/rules_go/pull/4526) - refactor: Remove more workspace content by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [bazel-contrib#4529](https://redirect.github.com/bazel-contrib/rules_go/pull/4529) - refactor: Remove next batch of WORKSPACE content by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [bazel-contrib#4531](https://redirect.github.com/bazel-contrib/rules_go/pull/4531) - expand make variables in x\_defs by [@​pjjw](https://redirect.github.com/pjjw) in [bazel-contrib#4533](https://redirect.github.com/bazel-contrib/rules_go/pull/4533) - Bump golang.org/x/net from 0.34.0 to 0.38.0 in /examples/basic\_gazelle by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [bazel-contrib#4530](https://redirect.github.com/bazel-contrib/rules_go/pull/4530) - fix(releaser): add MODULE.bazel boilerplate by [@​tyler-french](https://redirect.github.com/tyler-french) in [bazel-contrib#4225](https://redirect.github.com/bazel-contrib/rules_go/pull/4225) - fix(gopackagesdriver): Improve wildcard package query matching by [@​Aaronkala](https://redirect.github.com/Aaronkala) in [bazel-contrib#4288](https://redirect.github.com/bazel-contrib/rules_go/pull/4288) - Update BCR test module deps and Bazel version by [@​fmeum](https://redirect.github.com/fmeum) in [bazel-contrib#4537](https://redirect.github.com/bazel-contrib/rules_go/pull/4537) - Replace html linebreaks with newlines. by [@​katre](https://redirect.github.com/katre) in [bazel-contrib#4541](https://redirect.github.com/bazel-contrib/rules_go/pull/4541) - Replace HTML with Markdown in docs by [@​katre](https://redirect.github.com/katre) in [bazel-contrib#4542](https://redirect.github.com/bazel-contrib/rules_go/pull/4542) - chore: Mark go\_download\_sdk as reproducible by [@​mortenmj](https://redirect.github.com/mortenmj) in [bazel-contrib#4543](https://redirect.github.com/bazel-contrib/rules_go/pull/4543) - Revert "Issue 1486: cgo: fix C++ dynamic initialization of static variables when using alwayslink = True ([#​4438](https://redirect.github.com/bazelbuild/rules_go/issues/4438))" by [@​fmeum](https://redirect.github.com/fmeum) in [bazel-contrib#4551](https://redirect.github.com/bazel-contrib/rules_go/pull/4551) #### New Contributors - [@​mrdomino](https://redirect.github.com/mrdomino) made their first contribution in [bazel-contrib#4496](https://redirect.github.com/bazel-contrib/rules_go/pull/4496) - [@​cerisier](https://redirect.github.com/cerisier) made their first contribution in [bazel-contrib#4512](https://redirect.github.com/bazel-contrib/rules_go/pull/4512) - [@​alextercete](https://redirect.github.com/alextercete) made their first contribution in [bazel-contrib#4481](https://redirect.github.com/bazel-contrib/rules_go/pull/4481) - [@​dependabot](https://redirect.github.com/dependabot)\[bot] made their first contribution in [bazel-contrib#4530](https://redirect.github.com/bazel-contrib/rules_go/pull/4530) - [@​Aaronkala](https://redirect.github.com/Aaronkala) made their first contribution in [bazel-contrib#4288](https://redirect.github.com/bazel-contrib/rules_go/pull/4288) - [@​mortenmj](https://redirect.github.com/mortenmj) made their first contribution in [bazel-contrib#4543](https://redirect.github.com/bazel-contrib/rules_go/pull/4543) **Full Changelog**: <bazel-contrib/rules_go@v0.59.0...v0.60.0> </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Ny4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_python](https://redirect.github.com/bazel-contrib/rules_python) | bazel_dep | patch | `1.8.3` → `1.8.4` | | [rules_python](https://redirect.github.com/bazelbuild/rules_python) | http_archive | patch | `1.8.3` → `1.8.4` | --- ### Release Notes <details> <summary>bazel-contrib/rules_python (rules_python)</summary> ### [`v1.8.4`](https://redirect.github.com/bazel-contrib/rules_python/blob/HEAD/CHANGELOG.md#184---2026-02-10) [Compare Source](https://redirect.github.com/bazel-contrib/rules_python/compare/1.8.3...1.8.4) ##### Fixed - (pipstar): A corner case of evaluation of version specifiers (`"1.2" ~= "1.2.0"`) has been fixed improving compatibility with the PEP440 standard. Fixes [#​3580](https://redirect.github.com/bazel-contrib/rules_python/issues/3580). - (pipstar): We now add read permissions after extracting wheels for the cases where the `whl` file is missing them. Fixes [#​3554](https://redirect.github.com/bazel-contrib/rules_python/issues/3554). {#v1-8-3} </details> <details> <summary>bazelbuild/rules_python (rules_python)</summary> ### [`v1.8.4`](https://redirect.github.com/bazelbuild/rules_python/blob/HEAD/CHANGELOG.md#184---2026-02-10) [Compare Source](https://redirect.github.com/bazelbuild/rules_python/compare/1.8.3...1.8.4) ##### Fixed - (pipstar): A corner case of evaluation of version specifiers (`"1.2" ~= "1.2.0"`) has been fixed improving compatibility with the PEP440 standard. Fixes [#​3580](https://redirect.github.com/bazel-contrib/rules_python/issues/3580). - (pipstar): We now add read permissions after extracting wheels for the cases where the `whl` file is missing them. Fixes [#​3554](https://redirect.github.com/bazel-contrib/rules_python/issues/3554). {#v1-8-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 is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Ny4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…contrib#676) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com_google_absl](https://redirect.github.com/abseil/abseil-cpp) | http_archive | minor | `20250814.1` → `20250814.2` | --- ### Release Notes <details> <summary>abseil/abseil-cpp (com_google_absl)</summary> ### [`v20250814.2`](https://redirect.github.com/abseil/abseil-cpp/releases/tag/20250814.2): Abseil LTS branch, August 2025, Patch 2 [Compare Source](https://redirect.github.com/abseil/abseil-cpp/compare/20250814.1...20250814.2) ### Abseil LTS [`2025081`](https://redirect.github.com/abseil/abseil-cpp/commit/20250814).2 #### What's New: - `absl::Mutex` [now contains lower-case method names](https://redirect.github.com/abseil/abseil-cpp/commit/1f28b48632437172fc2c36244975ef4a8ab7049e) like `lock()` and `shared_lock()` to align with standard C++ mutex methods. This allows `absl::Mutex` to be used with `std::scoped_lock` and friends. The old names are still present but may be removed in a future release. - The RAII Mutex-locker types like `absl::MutexLock`, `absl::ReaderMutexLock`, and friends now [accept references](https://redirect.github.com/abseil/abseil-cpp/commit/785b11b33f686b3c9ddc480e8c8d6bd6ae5b3824) to `absl::Mutex`. The pointer-accepting constructors are now deprecated, and may be removed in a future release. #### Breaking Changes: - Nullability template types, which were [deprecated](https://redirect.github.com/abseil/abseil-cpp/commit/caf854d58c061808bae2a41f2b7da21a3ba74028) in the May 2025 release, [have been removed](https://redirect.github.com/abseil/abseil-cpp/commit/e4c43850ad008b362b53622cb3c88fd915d8f714). - `absl::string_view(nullptr)`, which is [undefined behavior](https://cppreference.com/w/cpp/string/basic_string_view/basic_string_view.html) according to the C++ standard, now triggers an [`assert` failure](https://redirect.github.com/abseil/abseil-cpp/commit/61103b948d587aff46f259a23bfa7e28385561e7). Note that unless you changed [`absl/base/options.h`](https://redirect.github.com/abseil/abseil-cpp/blob/fece33c9057c7b9952eb05ec4180fd2dd3de53a7/absl/base/options.h#L76-L100), `absl::string_view` is an alias for `std::string_view`, so by default you will be inheriting the behavior of your standard library instead of using the Abseil implementation. - Abseil's hash tables now [require](https://redirect.github.com/abseil/abseil-cpp/commit/7ece455c2527fa7f001a5f734a7efa42df4e767a) a hash function that has a return type with size >= `sizeof(size_t)`. Baseline: [`987c57f`](https://redirect.github.com/abseil/abseil-cpp/commit/987c57f325f7fa8472fa84e1f885f7534d391b0d) Cherry-pick: [`d38452e`](https://redirect.github.com/abseil/abseil-cpp/commit/d38452e1ee03523a208362186fd42248ff2609f6) (Patch 1) Cherry-pick: [`7313246`](https://redirect.github.com/abseil/abseil-cpp/commit/7313246786857168dac4c3191e80843b58e294c3) (Patch 2) </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Ny4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ntrib#671) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [io_bazel_rules_go](https://redirect.github.com/bazel-contrib/rules_go) | http_archive | minor | `v0.59.0` → `v0.60.0` | --- ### Release Notes <details> <summary>bazel-contrib/rules_go (io_bazel_rules_go)</summary> ### [`v0.60.0`](https://redirect.github.com/bazel-contrib/rules_go/releases/tag/v0.60.0) [Compare Source](https://redirect.github.com/bazel-contrib/rules_go/compare/v0.59.0...v0.60.0) #### `MODULE.bazel` code ``` bazel_dep(name = "rules_go", version = "0.60.0") go_sdk = use_extension("@​rules_go//go:extensions.bzl", "go_sdk") go_sdk.from_file(go_mod = "//:go.mod") ``` #### `WORKSPACE` code ``` load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_go", sha256 = "86d3dc8f59d253524f933aaf2f3c05896cb0b605fc35b460c0b4b039996124c6", urls = [ "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.60.0/rules_go-v0.60.0.zip", "https://github.com/bazel-contrib/rules_go/releases/download/v0.60.0/rules_go-v0.60.0.zip", ], ) load("@​io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains(version = "1.25.7") # Create the host platform repository transitively required by rules_go. load("@​bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@​platforms//host:extension.bzl", "host_platform_repo") maybe( host_platform_repo, name = "host_platform", ) ``` #### What's Changed - Document Gazelle `go_tools.bzl` functionality by [@​mrdomino](https://redirect.github.com/mrdomino) in [#​4496](https://redirect.github.com/bazel-contrib/rules_go/pull/4496) - Transition request\_nogo to False for cgo\_context\_data by [@​cerisier](https://redirect.github.com/cerisier) in [#​4512](https://redirect.github.com/bazel-contrib/rules_go/pull/4512) - proto: Pass in the plugin as tools to preserve runfiles by [@​DolceTriade](https://redirect.github.com/DolceTriade) in [#​4514](https://redirect.github.com/bazel-contrib/rules_go/pull/4514) - Default link mode to PIE on supported platforms by [@​alextercete](https://redirect.github.com/alextercete) in [#​4481](https://redirect.github.com/bazel-contrib/rules_go/pull/4481) - go/tools/gopackagesdriver: don't filter GoFiles for tags by [@​fionera](https://redirect.github.com/fionera) in [#​4519](https://redirect.github.com/bazel-contrib/rules_go/pull/4519) - Update Coverage link in README.rst by [@​bluec0re](https://redirect.github.com/bluec0re) in [#​4523](https://redirect.github.com/bazel-contrib/rules_go/pull/4523) - Exclude cgotest from stdlib build by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [#​4524](https://redirect.github.com/bazel-contrib/rules_go/pull/4524) - Rename host\_go{arch,os} to exec\_ by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [#​4525](https://redirect.github.com/bazel-contrib/rules_go/pull/4525) - Start migrating rules\_go workspace to bzlmod by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [#​4526](https://redirect.github.com/bazel-contrib/rules_go/pull/4526) - refactor: Remove more workspace content by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [#​4529](https://redirect.github.com/bazel-contrib/rules_go/pull/4529) - refactor: Remove next batch of WORKSPACE content by [@​dzbarsky](https://redirect.github.com/dzbarsky) in [#​4531](https://redirect.github.com/bazel-contrib/rules_go/pull/4531) - expand make variables in x\_defs by [@​pjjw](https://redirect.github.com/pjjw) in [#​4533](https://redirect.github.com/bazel-contrib/rules_go/pull/4533) - Bump golang.org/x/net from 0.34.0 to 0.38.0 in /examples/basic\_gazelle by [@​dependabot](https://redirect.github.com/dependabot)\[bot] in [#​4530](https://redirect.github.com/bazel-contrib/rules_go/pull/4530) - fix(releaser): add MODULE.bazel boilerplate by [@​tyler-french](https://redirect.github.com/tyler-french) in [#​4225](https://redirect.github.com/bazel-contrib/rules_go/pull/4225) - fix(gopackagesdriver): Improve wildcard package query matching by [@​Aaronkala](https://redirect.github.com/Aaronkala) in [#​4288](https://redirect.github.com/bazel-contrib/rules_go/pull/4288) - Update BCR test module deps and Bazel version by [@​fmeum](https://redirect.github.com/fmeum) in [#​4537](https://redirect.github.com/bazel-contrib/rules_go/pull/4537) - Replace html linebreaks with newlines. by [@​katre](https://redirect.github.com/katre) in [#​4541](https://redirect.github.com/bazel-contrib/rules_go/pull/4541) - Replace HTML with Markdown in docs by [@​katre](https://redirect.github.com/katre) in [#​4542](https://redirect.github.com/bazel-contrib/rules_go/pull/4542) - chore: Mark go\_download\_sdk as reproducible by [@​mortenmj](https://redirect.github.com/mortenmj) in [#​4543](https://redirect.github.com/bazel-contrib/rules_go/pull/4543) - Revert "Issue 1486: cgo: fix C++ dynamic initialization of static variables when using alwayslink = True ([#​4438](https://redirect.github.com/bazel-contrib/rules_go/issues/4438))" by [@​fmeum](https://redirect.github.com/fmeum) in [#​4551](https://redirect.github.com/bazel-contrib/rules_go/pull/4551) #### New Contributors - [@​mrdomino](https://redirect.github.com/mrdomino) made their first contribution in [#​4496](https://redirect.github.com/bazel-contrib/rules_go/pull/4496) - [@​cerisier](https://redirect.github.com/cerisier) made their first contribution in [#​4512](https://redirect.github.com/bazel-contrib/rules_go/pull/4512) - [@​alextercete](https://redirect.github.com/alextercete) made their first contribution in [#​4481](https://redirect.github.com/bazel-contrib/rules_go/pull/4481) - [@​dependabot](https://redirect.github.com/dependabot)\[bot] made their first contribution in [#​4530](https://redirect.github.com/bazel-contrib/rules_go/pull/4530) - [@​Aaronkala](https://redirect.github.com/Aaronkala) made their first contribution in [#​4288](https://redirect.github.com/bazel-contrib/rules_go/pull/4288) - [@​mortenmj](https://redirect.github.com/mortenmj) made their first contribution in [#​4543](https://redirect.github.com/bazel-contrib/rules_go/pull/4543) **Full Changelog**: <bazel-contrib/rules_go@v0.59.0...v0.60.0> </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Ny4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ib#677) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [abseil-cpp](https://redirect.github.com/abseil/abseil-cpp) | bazel_dep | minor | `20250814.1` → `20250814.2` | --- ### Release Notes <details> <summary>abseil/abseil-cpp (abseil-cpp)</summary> ### [`v20250814.2`](https://redirect.github.com/abseil/abseil-cpp/releases/tag/20250814.2): Abseil LTS branch, August 2025, Patch 2 [Compare Source](https://redirect.github.com/abseil/abseil-cpp/compare/20250814.1...20250814.2) ### Abseil LTS [`2025081`](https://redirect.github.com/abseil/abseil-cpp/commit/20250814).2 #### What's New: - `absl::Mutex` [now contains lower-case method names](https://redirect.github.com/abseil/abseil-cpp/commit/1f28b48632437172fc2c36244975ef4a8ab7049e) like `lock()` and `shared_lock()` to align with standard C++ mutex methods. This allows `absl::Mutex` to be used with `std::scoped_lock` and friends. The old names are still present but may be removed in a future release. - The RAII Mutex-locker types like `absl::MutexLock`, `absl::ReaderMutexLock`, and friends now [accept references](https://redirect.github.com/abseil/abseil-cpp/commit/785b11b33f686b3c9ddc480e8c8d6bd6ae5b3824) to `absl::Mutex`. The pointer-accepting constructors are now deprecated, and may be removed in a future release. #### Breaking Changes: - Nullability template types, which were [deprecated](https://redirect.github.com/abseil/abseil-cpp/commit/caf854d58c061808bae2a41f2b7da21a3ba74028) in the May 2025 release, [have been removed](https://redirect.github.com/abseil/abseil-cpp/commit/e4c43850ad008b362b53622cb3c88fd915d8f714). - `absl::string_view(nullptr)`, which is [undefined behavior](https://cppreference.com/w/cpp/string/basic_string_view/basic_string_view.html) according to the C++ standard, now triggers an [`assert` failure](https://redirect.github.com/abseil/abseil-cpp/commit/61103b948d587aff46f259a23bfa7e28385561e7). Note that unless you changed [`absl/base/options.h`](https://redirect.github.com/abseil/abseil-cpp/blob/fece33c9057c7b9952eb05ec4180fd2dd3de53a7/absl/base/options.h#L76-L100), `absl::string_view` is an alias for `std::string_view`, so by default you will be inheriting the behavior of your standard library instead of using the Abseil implementation. - Abseil's hash tables now [require](https://redirect.github.com/abseil/abseil-cpp/commit/7ece455c2527fa7f001a5f734a7efa42df4e767a) a hash function that has a return type with size >= `sizeof(size_t)`. Baseline: [`987c57f`](https://redirect.github.com/abseil/abseil-cpp/commit/987c57f325f7fa8472fa84e1f885f7534d391b0d) Cherry-pick: [`d38452e`](https://redirect.github.com/abseil/abseil-cpp/commit/d38452e1ee03523a208362186fd42248ff2609f6) (Patch 1) Cherry-pick: [`7313246`](https://redirect.github.com/abseil/abseil-cpp/commit/7313246786857168dac4c3191e80843b58e294c3) (Patch 2) </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Ny4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rules_java](https://redirect.github.com/bazelbuild/rules_java) | http_archive | minor | `9.4.0` → `9.5.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_java (rules_java)</summary> ### [`v9.5.0`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/9.5.0) [Compare Source](https://redirect.github.com/bazelbuild/rules_java/compare/9.4.2...9.5.0) **Changes since 9.4.2** [`14642c5`](https://redirect.github.com/bazelbuild/rules_java/commit/14642c5529672185b07fe0a1104c62dee2a7a292) Release `rules_java` `v9.5.0` [`0666283`](https://redirect.github.com/bazelbuild/rules_java/commit/06662838f1ecc7a9653b16e40f9541e729fe06d7) Update `java_tools` to `v19.0` **MODULE.bazel setup** ``` bazel_dep(name = "rules_java", version = "9.5.0") ``` **WORKSPACE setup** With Bazel 8.0.0 and before 8.3.0, add the following to your file: ``` ### bazelbuild/bazel#26119 common --repositories_without_autoloads=bazel_features_version,bazel_features_globals ``` In all cases, add the following to your file: ``` load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_java", urls = [ "https://github.com/bazelbuild/rules_java/releases/download/9.5.0/rules_java-9.5.0.tar.gz", ], sha256 = "440edfa8098d00b166a5a73d215f3214a6506db01e1ec45afee356b6679c5593", ) http_archive( name = "bazel_features", sha256 = "a660027f5a87f13224ab54b8dc6e191693c554f2692fcca46e8e29ee7dabc43b", strip_prefix = "bazel_features-1.30.0", url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.30.0/bazel_features-v1.30.0.tar.gz", ) load("@​bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies") rules_java_dependencies() ### note that the following line is what is minimally required from protobuf for the java rules ### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl load("@​com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility proto_bazel_features(name = "proto_bazel_features") ### register toolchains load("@​rules_java//java:repositories.bzl", "rules_java_toolchains") rules_java_toolchains() ``` **Using the rules** See [the source](https://redirect.github.com/bazelbuild/rules_java/tree/9.5.0). ### [`v9.4.2`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/9.4.2) [Compare Source](https://redirect.github.com/bazelbuild/rules_java/compare/9.4.1...9.4.2) **Changes since 9.4.1** [`4beb813`](https://redirect.github.com/bazelbuild/rules_java/commit/4beb813a365a97701d4dd4e56efced1b47eac3e3) Release `rules_java` `v9.4.2` [`6c9bc77`](https://redirect.github.com/bazelbuild/rules_java/commit/6c9bc7791fedcb87208a3f2bb33818c29fa2553a) Fix javacopts expansion [`aa4075b`](https://redirect.github.com/bazelbuild/rules_java/commit/aa4075b7ba2057b65f787324c175c0b433dacc43) Automated rollback of commit [`1824a55`](https://redirect.github.com/bazelbuild/rules_java/commit/1824a5548e56ecd337687ff32baf98e37ddd6b16). **MODULE.bazel setup** ``` bazel_dep(name = "rules_java", version = "9.4.2") ``` **WORKSPACE setup** With Bazel 8.0.0 and before 8.3.0, add the following to your file: ``` ### bazelbuild/bazel#26119 common --repositories_without_autoloads=bazel_features_version,bazel_features_globals ``` In all cases, add the following to your file: ``` load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_java", urls = [ "https://github.com/bazelbuild/rules_java/releases/download/9.4.2/rules_java-9.4.2.tar.gz", ], sha256 = "67ba5b3a9a95783372d0efda928a5ae86427b37f49c9c631965096bc3a628f59", ) http_archive( name = "bazel_features", sha256 = "a660027f5a87f13224ab54b8dc6e191693c554f2692fcca46e8e29ee7dabc43b", strip_prefix = "bazel_features-1.30.0", url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.30.0/bazel_features-v1.30.0.tar.gz", ) load("@​bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies") rules_java_dependencies() ### note that the following line is what is minimally required from protobuf for the java rules ### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl load("@​com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility proto_bazel_features(name = "proto_bazel_features") ### register toolchains load("@​rules_java//java:repositories.bzl", "rules_java_toolchains") rules_java_toolchains() ``` **Using the rules** See [the source](https://redirect.github.com/bazelbuild/rules_java/tree/9.4.2). ### [`v9.4.1`](https://redirect.github.com/bazelbuild/rules_java/releases/tag/9.4.1) [Compare Source](https://redirect.github.com/bazelbuild/rules_java/compare/9.4.0...9.4.1) **Changes since 9.4.0** [`aade08e`](https://redirect.github.com/bazelbuild/rules_java/commit/aade08e392f741cf73b2f6edbde9831b3b0f066b) Release `@rules_java` `v9.4.1` [`7e5a90c`](https://redirect.github.com/bazelbuild/rules_java/commit/7e5a90c268d33254cf2b2c0ef651fba754b75efe) Fix `bzl_library` graph for `java_single_jar` [`f70e126`](https://redirect.github.com/bazelbuild/rules_java/commit/f70e12608c04cdf3467b429478439b247095c129) Run `@rules_java` extra tests only with the latest Bazel release **MODULE.bazel setup** ``` bazel_dep(name = "rules_java", version = "9.4.1") ``` **WORKSPACE setup** With Bazel 8.0.0 and before 8.3.0, add the following to your file: ``` ##### bazelbuild/bazel#26119 common --repositories_without_autoloads=bazel_features_version,bazel_features_globals ``` In all cases, add the following to your file: ``` load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_java", urls = [ "https://github.com/bazelbuild/rules_java/releases/download/9.4.1/rules_java-9.4.1.tar.gz", ], sha256 = "20cdc3d01cff553aa08e9a95af6d8f81fdd8e3b879a4fd294ddcb163d98dbeb8", ) http_archive( name = "bazel_features", sha256 = "a660027f5a87f13224ab54b8dc6e191693c554f2692fcca46e8e29ee7dabc43b", strip_prefix = "bazel_features-1.30.0", url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.30.0/bazel_features-v1.30.0.tar.gz", ) load("@​bazel_features//:deps.bzl", "bazel_features_deps") bazel_features_deps() load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies") rules_java_dependencies() ##### note that the following line is what is minimally required from protobuf for the java rules ##### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl load("@​com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility proto_bazel_features(name = "proto_bazel_features") ##### register toolchains load("@​rules_java//java:repositories.bzl", "rules_java_toolchains") rules_java_toolchains() ``` **Using the rules** See [the source](https://redirect.github.com/bazelbuild/rules_java/tree/9.4.1). </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 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. --- - [ ] <!-- 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/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Ny4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
| Filename | Overview |
|---|---|
| toolchain/cc_wrapper.sh.tpl | Rewritten cc_wrapper with new dirname_shim and sanitize_option functions. Contains a bug in the response file readability check (${i:1} instead of ${!i:1}). |
| toolchain/osx_cc_wrapper.sh.tpl | Rewritten macOS cc_wrapper. Contains two bugs: wrong variable in response file readability check, and parse_option output incorrectly redirected to tmpfile instead of echoing the option. |
| toolchain/cc_toolchain_config.bzl | Extensive rework: renamed host_* to exec_*, added new targets (wasm, riscv, armv7), new stdlib options, archive_flags, configurable libunwind/compiler-rt via select. Contains debug TODO comments that should be cleaned up. |
| toolchain/internal/repo.bzl | Attribute definitions moved from rules.bzl, added extra_llvm_distributions, exec_os/arch, extra flags, repo_metadata support. Doc string has typos. |
| toolchain/internal/configure.bzl | Core configuration logic reworked: host_* renamed to exec_*, bzlmod label handling, system module map generation, cxx_builtin_include_directories computed per-target, extra constraint support. |
| toolchain/internal/common.bzl | Extended SUPPORTED_TARGETS with wasm/riscv/armv7/none targets, refactored host_info into structured struct, added toolchain_tools function, removed host_tools. |
| toolchain/extensions/llvm.bzl | New bzlmod extension implementing LLVM toolchain configuration via module tags (toolchain, toolchain_root, sysroot, extra_*_compatible_with). Root-only restriction enforced. |
| toolchain/rules.bzl | Simplified by moving attribute definitions to repo.bzl. Fixed version validation logic (was incorrectly using == instead of and for mutual exclusion check). |
| toolchain/internal/llvm_distributions.bzl | Major expansion: added distributions for LLVM 14.0.1-20.1.3, version requirement parsing, distribution basename resolution, comprehensive test writer rules. |
| MODULE.bazel | New bzlmod module definition with dependencies on bazel_features, bazel_skylib, aspect_bazel_lib, rules_cc, platforms, helly25_bzl, and tar.bzl. |
| toolchain/sysroot.bzl | New sysroot repository rule using bsdtar for extraction with source directory support for efficient sandbox symlinks. |
| toolchain/internal/system_module_map.bzl | New rule generating Clang module maps for layering_check support, handling both absolute and relative include paths. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[MODULE.bazel / WORKSPACE] -->|bzlmod| B[toolchain/extensions/llvm.bzl]
A -->|WORKSPACE| C[toolchain/rules.bzl]
B --> D[llvm_toolchain macro]
C --> D
D --> E[llvm repo rule<br/>toolchain/internal/repo.bzl]
D --> F[toolchain config rule<br/>toolchain/internal/configure.bzl]
E --> G[llvm_distributions.bzl<br/>Download LLVM]
F --> H[cc_toolchain_config.bzl<br/>Generate toolchain config]
F --> I[system_module_map.bzl<br/>Generate module maps]
F --> J[cc_wrapper.sh.tpl / osx_cc_wrapper.sh.tpl<br/>Compiler wrapper scripts]
F --> K[BUILD.toolchain.tpl<br/>Generated BUILD file]
E --> L[BUILD.llvm_repo.tpl<br/>LLVM repo BUILD file]
G --> M[LLVM Distribution Archive]
H --> N[Supported Targets:<br/>linux, darwin, wasm, none]
I --> O[Clang Module Map<br/>for layering_check]
Prompt To Fix All With AI
This is a comment left during a code review.
Path: toolchain/osx_cc_wrapper.sh.tpl
Line: 149-158
Comment:
**Response file readability check uses wrong variable**
Two bugs in this response-file handling block:
1. **Line 149:** `"${i:1}"` performs substring extraction on the loop variable `i` (a number), not the argument at position `i`. For example, when `i=5`, `${i:1}` yields `""` (empty) instead of the argument value. This should be `"${!i:1}"` to get the positional argument via indirect expansion and strip the leading `@`.
2. **Line 157:** `parse_option "${opt}" >>"${tmpfile}"` redirects the (empty) stdout of `parse_option` into the tmpfile, but `parse_option` only sets shell variables as side effects — it doesn't print anything. The sanitized option is never actually written to the tmpfile. Compare with `cc_wrapper.sh.tpl` line 130-131, which correctly does:
```
parse_option "${opt}"
echo "${opt}" >>"${tmpfile}"
```
Together these mean: on macOS, any clang invocation that uses a response file (`@file`) will (a) fail the `-r` readability check or check the wrong path, and (b) produce an empty sanitized response file, causing the compiler to receive no arguments from the original response file.
```suggestion
if [[ ${!i} == @* && -r "${!i:1}" ]]; then
tmpfile=$(mktemp)
CLEANUP_FILES+=("${tmpfile}")
while IFS= read -r opt; do
opt="$(
set -e
sanitize_option "${opt}"
)"
parse_option "${opt}"
echo "${opt}" >>"${tmpfile}"
done <"${!i:1}"
cmd+=("@${tmpfile}")
```
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: toolchain/cc_wrapper.sh.tpl
Line: 121
Comment:
**Response file readability check uses wrong variable**
`"${i:1}"` performs substring extraction on the loop counter `i` (a number like `0`, `1`, `2`...), not the actual argument value. For instance, when `i=0`, `${i:1}` is `""` (empty); when `i=12`, it's `"2"`. This should be `"${!i:1}"` to use indirect expansion to get the positional parameter at index `i`, then strip the leading `@` to get the filename.
The same bug exists on line 132 where the response file is read: `<"${!i:1}"` is correct there, but the guard check on this line is wrong.
```suggestion
if [[ ${!i} == @* && -r "${!i:1}" ]]; then
```
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: toolchain/cc_toolchain_config.bzl
Line: 256-257
Comment:
**Debug TODO comments left in production code**
These `TODO TODO` and `TODO: as above, so below` comments appear to be personal debugging notes that were left in the code. They should be cleaned up or converted into proper documentation before merging.
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: toolchain/internal/repo.bzl
Line: 42-44
Comment:
**Multiple typos in doc string**
This doc string has three typos:
- `"additon"` should be `"addition"`
- `"distributiosn"` should be `"distributions"`
- `"'utils/lvm_checksums.sh'"` should be `"'utils/llvm_checksums.sh'"` (missing an `l`)
```suggestion
doc = ("A dictionary that maps distributions to their SHA256 values. " +
"It allows for simple addition of llvm distributions using the " +
"'utils/llvm_checksums.sh' tool. This also allows to use the " +
```
How can I resolve this? If you propose a fix, please make it concise.Last reviewed commit: "Merge branch 'master..."
| if [[ ${!i} == @* && -r "${i:1}" ]]; then | ||
| tmpfile=$(mktemp) | ||
| CLEANUP_FILES+=("${tmpfile}") | ||
| while IFS= read -r opt; do | ||
| opt="$( | ||
| set -e | ||
| sanitize_option "${opt}" | ||
| )" | ||
| parse_option "${opt}" >>"${tmpfile}" | ||
| done <"${!i:1}" |
There was a problem hiding this comment.
Response file readability check uses wrong variable
Two bugs in this response-file handling block:
-
Line 149:
"${i:1}"performs substring extraction on the loop variablei(a number), not the argument at positioni. For example, wheni=5,${i:1}yields""(empty) instead of the argument value. This should be"${!i:1}"to get the positional argument via indirect expansion and strip the leading@. -
Line 157:
parse_option "${opt}" >>"${tmpfile}"redirects the (empty) stdout ofparse_optioninto the tmpfile, butparse_optiononly sets shell variables as side effects — it doesn't print anything. The sanitized option is never actually written to the tmpfile. Compare withcc_wrapper.sh.tplline 130-131, which correctly does:parse_option "${opt}" echo "${opt}" >>"${tmpfile}"
Together these mean: on macOS, any clang invocation that uses a response file (@file) will (a) fail the -r readability check or check the wrong path, and (b) produce an empty sanitized response file, causing the compiler to receive no arguments from the original response file.
| if [[ ${!i} == @* && -r "${i:1}" ]]; then | |
| tmpfile=$(mktemp) | |
| CLEANUP_FILES+=("${tmpfile}") | |
| while IFS= read -r opt; do | |
| opt="$( | |
| set -e | |
| sanitize_option "${opt}" | |
| )" | |
| parse_option "${opt}" >>"${tmpfile}" | |
| done <"${!i:1}" | |
| if [[ ${!i} == @* && -r "${!i:1}" ]]; then | |
| tmpfile=$(mktemp) | |
| CLEANUP_FILES+=("${tmpfile}") | |
| while IFS= read -r opt; do | |
| opt="$( | |
| set -e | |
| sanitize_option "${opt}" | |
| )" | |
| parse_option "${opt}" | |
| echo "${opt}" >>"${tmpfile}" | |
| done <"${!i:1}" | |
| cmd+=("@${tmpfile}") |
Prompt To Fix With AI
This is a comment left during a code review.
Path: toolchain/osx_cc_wrapper.sh.tpl
Line: 149-158
Comment:
**Response file readability check uses wrong variable**
Two bugs in this response-file handling block:
1. **Line 149:** `"${i:1}"` performs substring extraction on the loop variable `i` (a number), not the argument at position `i`. For example, when `i=5`, `${i:1}` yields `""` (empty) instead of the argument value. This should be `"${!i:1}"` to get the positional argument via indirect expansion and strip the leading `@`.
2. **Line 157:** `parse_option "${opt}" >>"${tmpfile}"` redirects the (empty) stdout of `parse_option` into the tmpfile, but `parse_option` only sets shell variables as side effects — it doesn't print anything. The sanitized option is never actually written to the tmpfile. Compare with `cc_wrapper.sh.tpl` line 130-131, which correctly does:
```
parse_option "${opt}"
echo "${opt}" >>"${tmpfile}"
```
Together these mean: on macOS, any clang invocation that uses a response file (`@file`) will (a) fail the `-r` readability check or check the wrong path, and (b) produce an empty sanitized response file, causing the compiler to receive no arguments from the original response file.
```suggestion
if [[ ${!i} == @* && -r "${!i:1}" ]]; then
tmpfile=$(mktemp)
CLEANUP_FILES+=("${tmpfile}")
while IFS= read -r opt; do
opt="$(
set -e
sanitize_option "${opt}"
)"
parse_option "${opt}"
echo "${opt}" >>"${tmpfile}"
done <"${!i:1}"
cmd+=("@${tmpfile}")
```
How can I resolve this? If you propose a fix, please make it concise.|
|
||
| cmd=() | ||
| for ((i = 0; i <= $#; i++)); do | ||
| if [[ ${!i} == @* && -r "${i:1}" ]]; then |
There was a problem hiding this comment.
Response file readability check uses wrong variable
"${i:1}" performs substring extraction on the loop counter i (a number like 0, 1, 2...), not the actual argument value. For instance, when i=0, ${i:1} is "" (empty); when i=12, it's "2". This should be "${!i:1}" to use indirect expansion to get the positional parameter at index i, then strip the leading @ to get the filename.
The same bug exists on line 132 where the response file is read: <"${!i:1}" is correct there, but the guard check on this line is wrong.
| if [[ ${!i} == @* && -r "${i:1}" ]]; then | |
| if [[ ${!i} == @* && -r "${!i:1}" ]]; then |
Prompt To Fix With AI
This is a comment left during a code review.
Path: toolchain/cc_wrapper.sh.tpl
Line: 121
Comment:
**Response file readability check uses wrong variable**
`"${i:1}"` performs substring extraction on the loop counter `i` (a number like `0`, `1`, `2`...), not the actual argument value. For instance, when `i=0`, `${i:1}` is `""` (empty); when `i=12`, it's `"2"`. This should be `"${!i:1}"` to use indirect expansion to get the positional parameter at index `i`, then strip the leading `@` to get the filename.
The same bug exists on line 132 where the response file is read: `<"${!i:1}"` is correct there, but the guard check on this line is wrong.
```suggestion
if [[ ${!i} == @* && -r "${!i:1}" ]]; then
```
How can I resolve this? If you propose a fix, please make it concise.| # TODO TODO i had deleted this with first pass of bzlmod... why? | ||
| # TODO: as above, so below |
There was a problem hiding this comment.
Debug TODO comments left in production code
These TODO TODO and TODO: as above, so below comments appear to be personal debugging notes that were left in the code. They should be cleaned up or converted into proper documentation before merging.
Prompt To Fix With AI
This is a comment left during a code review.
Path: toolchain/cc_toolchain_config.bzl
Line: 256-257
Comment:
**Debug TODO comments left in production code**
These `TODO TODO` and `TODO: as above, so below` comments appear to be personal debugging notes that were left in the code. They should be cleaned up or converted into proper documentation before merging.
How can I resolve this? If you propose a fix, please make it concise.| doc = ("A dictionary that maps distributions to their SHA256 values. " + | ||
| "It allows for simple additon of llvm distributiosn using the " + | ||
| "'utils/lvm_checksums.sh' tool. This also allows to use the " + |
There was a problem hiding this comment.
This doc string has three typos:
"additon"should be"addition""distributiosn"should be"distributions""'utils/lvm_checksums.sh'"should be"'utils/llvm_checksums.sh'"(missing anl)
| doc = ("A dictionary that maps distributions to their SHA256 values. " + | |
| "It allows for simple additon of llvm distributiosn using the " + | |
| "'utils/lvm_checksums.sh' tool. This also allows to use the " + | |
| doc = ("A dictionary that maps distributions to their SHA256 values. " + | |
| "It allows for simple addition of llvm distributions using the " + | |
| "'utils/llvm_checksums.sh' tool. This also allows to use the " + |
Prompt To Fix With AI
This is a comment left during a code review.
Path: toolchain/internal/repo.bzl
Line: 42-44
Comment:
**Multiple typos in doc string**
This doc string has three typos:
- `"additon"` should be `"addition"`
- `"distributiosn"` should be `"distributions"`
- `"'utils/lvm_checksums.sh'"` should be `"'utils/llvm_checksums.sh'"` (missing an `l`)
```suggestion
doc = ("A dictionary that maps distributions to their SHA256 values. " +
"It allows for simple addition of llvm distributions using the " +
"'utils/llvm_checksums.sh' tool. This also allows to use the " +
```
How can I resolve this? If you propose a fix, please make it concise.
No description provided.