rules_rust icon indicating copy to clipboard operation
rules_rust copied to clipboard

`default_features = False` not respected in bzlmod

Open firekind opened this issue 1 year ago • 1 comments

Hello, I have a non cargo setup via bzlmod. When i set default_features = False in crate.spec for a crate (in this case, the ort crate), the rust_library target generated in the crate's BUILD file still has the crate_features attribute set. This does not seem to happen if I use WORKSPACE instead of bzlmod.

firekind avatar Apr 01 '24 07:04 firekind

here's a simple repro

firekind avatar Apr 01 '24 08:04 firekind

This was fixed by #2606, so closing.

firekind avatar May 13 '24 06:05 firekind