bazel icon indicating copy to clipboard operation
bazel copied to clipboard

testdata/runfiles_test/WORKSPACE.mock pins to a very old rules_cc

Open aiuto opened this issue 1 year ago • 0 comments

Description of the bug:

src/test/py/bazel/testdata/runfiles_test/WORKSPACE.mock uses an ancient commit from rules_cc. https://github.com/bazelbuild/rules_cc/commit/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0

We should generate this file from distdir_deps.bzl using gen_workspace_stanza. That will align the tests using this declaration with the other integration tests that use the rules_cc we build with.

The same problem exists in

  • src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_remote_tools.WORKSPACE
  • tools/test/extensions.bzl

aiuto avatar Aug 02 '22 16:08 aiuto