You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that rules_d will start breaking with the next Bazel release 0.25 because of an incompatible change (bazelbuild/bazel#7036)
ERROR: /Users/buildkite/builds/buildkite-imacpro-2/bazel-downstream-projects/rules_d/examples/hello_lib/BUILD:22:1: in d_source_library rule //examples/hello_lib:native_greeter:
| Traceback (most recent call last):
| File "/Users/buildkite/builds/buildkite-imacpro-2/bazel-downstream-projects/rules_d/examples/hello_lib/BUILD", line 22
| d_source_library(name = 'native_greeter')
| File "/Users/buildkite/builds/buildkite-imacpro-2/bazel-downstream-projects/rules_d/d/d.bzl", line 356, in _d_source_library_impl
| fail("d_source_library can only depen...", ...")
https://github.com/bazelbuild/rules_d/blob/master/d/d.bzl is using hasattr(dep, "cc") instead the new provider should be used as described in the link above. For example, to check if the dependency has the provider it should be CcInfo in dep
The text was updated successfully, but these errors were encountered:
It seems that rules_d will start breaking with the next Bazel release 0.25 because of an incompatible change (bazelbuild/bazel#7036)
https://github.com/bazelbuild/rules_d/blob/master/d/d.bzl is using
hasattr(dep, "cc")
instead the new provider should be used as described in the link above. For example, to check if the dependency has the provider it should beCcInfo in dep
The text was updated successfully, but these errors were encountered: