-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark module extension as reproducible #328
base: master
Are you sure you want to change the base?
Conversation
015760e
to
8ab815b
Compare
MODULE.bazel
Outdated
@@ -17,7 +17,7 @@ bazel_dep( | |||
repo_name = "io_bazel_stardoc", | |||
) | |||
|
|||
apple_cc_configure = use_extension("//crosstool:setup.bzl", "apple_cc_configure_extension") | |||
apple_cc_configure = use_extension("//crosstool:apple_cc_configure_extension.bzl", "apple_cc_configure_extension") |
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.
Is this file rename a breaking change for users? We have a blurb in the README that references the old name.
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.
It would be, yes. I think it's better to wait for apple_support to drop Bazel 5 support and then land this commit without the need for this breaking change.
crosstool/internal/BUILD.bazel
Outdated
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.
In this repo we use BUILD
instead of BUILD.bazel
if possible.
Is this closer to getting merged ? I'm closing my quest of having the cleanest lockfile possible ! |
This removes an unnecessary lockfile entry.
The module extension is kept in place so that
use_extension
calls don't need to be updated. The repo rules are moved into a separate file so that WORKSPACE setups don't fail on a cyclic load ofbazel_features
. The newly exposed repo rules are protected by load visibility.