-
Notifications
You must be signed in to change notification settings - Fork 440
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
Added bzlmod support to all extension rules. #3037
Conversation
3db9532
to
4e77e69
Compare
- "//..." | ||
# TODO: https://github.com/bazelbuild/rules_rust/issues/3039 |
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.
4e77e69
to
1aadb5b
Compare
@@ -1,6 +1,7 @@ | |||
"""Definitions for loading transitive `@rules_rust//proto` dependencies""" | |||
|
|||
load("@bazel_features//:deps.bzl", "bazel_features_deps") | |||
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") |
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.
why does prost require all these protobuf dependencies now? I thought the point of it was that it doesn't?
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 added this because when I updated protobuf I started getting tons of load errors for random external repositories. If there’s a way to avoid this I’m happy to reduce the amount of forced dependencies!
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 have no idea sorry. :( I wonder how it worked before though?
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.
At a glance it seems like protobuf just started adding more dependencies expecting bzlmod to hide that from users 😞
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.
So updating and pulling in all those changes that introduced new forced dependencies introduced the need for these extra dependencies.
Additional Changes:
rules_nodejs
forrules_rust_wasm_bindgen
will no longer tested and will be dropped unless bzlmod support is added for the originalbazel_build_rules_nodejs
rules.rules_rust_bindgen
updated default clang version to 17.0.3 to match bzlmod available version.rules_rust_prost
updated protobuf version tov28.3
Relates to: