rules_js
rules_js copied to clipboard
[Bug]: failures with future config_setting visibility rules
What happened?
aspect_rules_js
fails when building with compatibility options --incompatible_config_setting_private_default_visibility --incompatible_enforce_config_setting_visibility
:
ERROR: /.../kythe/typescript/BUILD:98:13: in jasmine_test rule //kythe/typescript:utf8_test: alias '@aspect_rules_js//js/private:enable_runfiles' referring to target '@aspect_rules_js//js:enable_runfiles' is not visible from target '//kythe/typescript:utf8_test'. Check the visibility declaration of the former target if you think the dependency is legitimate
ERROR: /.../kythe/typescript/BUILD:98:13: in jasmine_test rule //kythe/typescript:utf8_test: alias '@aspect_rules_js//js/private:experimental_allow_unresolved_symlinks' referring to target '@aspect_rules_js//js:allow_unresolved_symlinks' is not visible from target '//kythe/typescript:utf8_test'. Check the visibility declaration of the former target if you think the dependency is legitimate
Version
Development (host) and target OS/architectures:
Output of bazel --version
: 6.3.0
Version of the Aspect rules, or other relevant rules from your
WORKSPACE
or MODULE.bazel
file:
The version depended on by rules_ts-2.0.0-rc1
Language(s) and/or frameworks involved:
How to reproduce
bazel build --incompatible_config_setting_private_default_visibility --incompatible_enforce_config_setting_visibility //path/to/any/target
### Any other information?
_No response_