-
Notifications
You must be signed in to change notification settings - Fork 413
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
[BUG] - v0.43.0+ cargo-bazel generates bad selects #2679
Comments
I debugged the issue a bit. It seems like the rules_rust/crate_universe/src/metadata.rs Lines 530 to 558 in e3f6258
If I remove build from the edges, it fixes it: .arg("--edges")
.arg("normal,dev") I added a second query for just build deps, but it seems cargo tree doesn't include transitive I couldn't really find a way to include whether it's a build dependency in the |
Nevermind just found this #2212, I was going down the wrong path with that solution. |
#2636
After this PR, it seems that
tar
is now buildingxattr
on windows despite it only being listed as a unix dependency. When I patch the cargo-bazel toolchain to use0.42.1
binaries with0.44.0
it generates the proper platform specific selects:Cargo-Bazel.lock.json v0.44.0 -> v0.42.1
The text was updated successfully, but these errors were encountered: