-
Notifications
You must be signed in to change notification settings - Fork 460
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
MODULE.bazel.lock contains os-specific information #3297
Comments
I discussed this with a few other people on Slack. They confirmed this is currently an issue. |
in order to do splicing, |
Just randomly stumbled upon this, not intending to send PRs but just providing context how a similar issue got solved in I needed to go through hoops to ensure that we have no The main gist is:
Here is the snippet I am trying to outline above: https://github.com/bazelbuild/rules_python/pull/2135/files#r1972759635 |
That doesn't seem to be a documented feature: https://bazel.build/rules/lib/builtins/module_ctx#path Is that real? lol |
Oh sorry, I misremembered. :D I think the repository_ctx may have that arg. Maybe I was talking to fmeum about this. Anyway, the snippet I linked might be sufficient. |
We're using Bazel 7.4.1, bzlmod, and rules_rust 0.57.0.
I'm currently running into an issues where the MODULE.bazel.lock file is different for macOS and Linux. Our development team is split across operating systems. We commit the lock file into git. After doing a build, this is the output.
The previous values for rustc are for Linux, the new ones are for macOS.
Our MODULE.bazel contains the following rust configuration
The text was updated successfully, but these errors were encountered: