commit | 9168001eff709efc65298f0810ce68f347b5c1a5 | [log] [tgz] |
---|---|---|
author | Richard Levasseur <rlevasseur@google.com> | Thu Jul 06 19:29:28 2023 -0700 |
committer | Richard Levasseur <rlevasseur@google.com> | Mon Jul 10 12:37:03 2023 -0700 |
tree | 41e1e7b893417e75592853314cb0fb7530d387a8 | |
parent | 1e41a0d717ab4db07ed1a63808727dc15163eded [diff] |
feat: Add DefaultInfoSubject This is a subject for the `DefaultInfo` provider. Normally accessing its information is done through TargetSubject, however, if an object has a direct reference to DefaultInfo instance, then there isn't a target directly associated with it. Such a situation can occur when using toolchain info forwarding rules (e.g. :current_foo_toolchain). Fixes https://github.com/bazelbuild/rules_testing/issues/52
rules_testing
provides frameworks and utilities to make testing Starlark code easier and convenient.
For detailed docs, see the docs website