Implement a native bzl_library rule
Tracking bug for implementing a native rule to replace Skylib's bzl_library. Design doc here, though it's not yet reviewed/approved.
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.
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.