rules_cc icon indicating copy to clipboard operation
rules_cc copied to clipboard

rules_cc_dependencies fails to define bazel_features (and others)

Open avdv opened this issue 4 months ago • 2 comments

Looking in

https://github.com/bazelbuild/rules_cc/blob/e8422d39efbc0c6d6a32d8854929a7b05b77e820/cc/repositories.bzl#L5-L6

there are actually no dependencies loaded. I would have expected the usual maybe(http_archive, ...) for bazel_skylib and bazel_features and so on.

avdv avatar Aug 14 '25 11:08 avdv

@armandomontanez @fmeum wdyt?

pzembrod avatar Sep 19 '25 14:09 pzembrod

We can add them, but it won't help much as WORKSPACE has the first definition win. As a result, WORKSPACE users usually have to manually define the repos at the highest version required by their transitive deps anyway.

It would probably be equally helpful to just list out the deps with their minimum required version in the release notes.

fmeum avatar Sep 19 '25 14:09 fmeum