Skip to content
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

bindgen dependencies aren't setup correctly when using rules_rust with bzlmod #2787

Open
AlexOrozco1256 opened this issue Aug 12, 2024 · 2 comments

Comments

@AlexOrozco1256
Copy link

This is what my workspace file looks like:

Screenshot 2024-08-12 at 11 23 40 AM

When I use rules_rust in the workspace via http_archive, I can use bindgen via rust_bindgen_library. However when I try to use rules_rust with bzlmod rather than in the workspace, I get the following error:

Screenshot 2024-08-12 at 11 25 09 AM

I see that bzlmod support is still WIP so I just wanted to see if we could get support for bindgen with rules_rust via bzlmod.

@hlopko
Copy link
Member

hlopko commented Aug 20, 2024

@matts1 is there a chance you'd be interested in fixing this one as well? It seems you know your bzlmod things :) Thanks!!

@matts1
Copy link
Contributor

matts1 commented Aug 21, 2024

I'd love to, but I'm no longer working on bazel, so I don't get any time to allocate to rules_rust, since I've already had to allocate my 20% project to finish the work I was previously doing on rules_cc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants