bazel icon indicating copy to clipboard operation
bazel copied to clipboard

Implement a native bzl_library rule

Open brandjon opened this issue 2 years ago • 2 comments

Tracking bug for implementing a native rule to replace Skylib's bzl_library. Design doc here, though it's not yet reviewed/approved.

brandjon avatar Jun 06 '23 19:06 brandjon

The design was rejected in its current form. Leaving this issue open to represent the unresolved question of whether/how this might be addressed in the future.

The two possibilities are 1) implement a native aspect (lighter weight than a native rule); or 2) implement new magic in dependency query machinery, making it unnecessary to reify .bzl files in the target graph when they are consumed by rules. See the Decision section in the doc for more details.

brandjon avatar Jun 22 '23 14:06 brandjon

Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale.

github-actions[bot] avatar Aug 26 '24 01:08 github-actions[bot]