-
Notifications
You must be signed in to change notification settings - Fork 101
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
Update rules_rust to v0.38.0 (with Rust v1.75.0). #221
Conversation
Signed-off-by: Mike Grass <[email protected]>
Signed-off-by: Mike Grass <[email protected]>
Signed-off-by: Mike Grass <[email protected]>
Signed-off-by: Mike Grass <[email protected]>
b79c0af
to
a2144af
Compare
I'm slightly confused, because if you're using Bazel, then |
That's a good point. We are using bazel, and all the references in our repo and this one are to v0.8.3. I'm new to bazel; is there an easy way to query how a particular version of a dependency is being pulled in? |
|
But regardless of your issues with |
@PiotrSikora Hmm so it turns out our repo is using a bit of a frankenbuild, some parts building with bazel and the rust wasm filters not. I'll look at cleaning that up so we don't hit surprise dependency upgrade issues like the error above in our build. We are using this repo to generate portions of our build tooling though, so getting this PR merged will help us unblock while doing the larger build tooling cleanup. Sounds like it's ready to merge? |
Just ran into the same issue and for me it helped to upgrade Rust to 1.75 in the Dockerfile (in case you are building with Docker)... |
Almost. Could you also update |
https://github.com/bazelbuild/bazel-skylib/releases/tag/1.5.0 Signed-off-by: Mike Grass <[email protected]>
Done in the latest commit. I checked on why our build is structured the way it is for rust extensions (I'm new to this project) -- it turns out that we used to build with bazel but ran into this issue with debuginfo not being stripped: #149. The workaround decided on at the time was to pull in this sdk and use the rustc / cargo versions from it for the build outside of bazel, but now we are hitting this problem with dependency pinning. I noticed this comment from that issue:
Is that still the case? Do you happen to know of a way we could use Bazel builds while also stripping debuginfo? |
It looks like you can strip it with |
@PiotrSikora I pulled in the changes from the now-merged #222. Can you please review? |
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.
Thanks!
Our rust wasm extensions builds are currently blocked with a dependency failure because the latest
ahash
wants rustc 1.72 or later:Pulling in rules_rust-v0.38.0 (rustc 1.75) and updating deps.