rules_rust icon indicating copy to clipboard operation
rules_rust copied to clipboard

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

Open AlexOrozco1256 opened this issue 1 year ago • 2 comments

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.

AlexOrozco1256 avatar Aug 12 '24 18:08 AlexOrozco1256

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

hlopko avatar Aug 20 '24 11:08 hlopko

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.

matts1 avatar Aug 21 '24 02:08 matts1