-
Notifications
You must be signed in to change notification settings - Fork 73
feat: introduce toolchain helper #194
Conversation
comius
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i can't write unit tests for the incompatible flag. I'll look for a workaround.
I don't mind if some tests are omitted at this level of granularity. Also the code is copied from builtin proto_common.bzl, and already tested there on a slightly bigger granularity (i.e there are tests for proto_library/proto_lang_toolchain/java_proto_library)
hmm, I agree but I still believe we should test this repo with the incompatible flag to be safe even if it's not this granular. |
66cc0df to
9befa0f
Compare
|
@comius I propose adding a new test target to bazelci here that tests the incompatible flag against a prerelease of bazel. i can make that a follow-up |
2832da5 to
251af60
Compare
|
@comius PTAL. this is ready. |
This is not final yet, I just want to test out with rules_python first. Welcome to review though.
Also due to bazelbuild/bazel#20297 i can't write unit tests for the incompatible flag. I'll look for a workaround.