-
Notifications
You must be signed in to change notification settings - Fork 441
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
Target OS Arch + Feature Flag Regression #3011
Comments
I may have another occurrence of this same issue with rules_rust/0.54.1 (not 100% sure, but it might be worth sharing my scenario here). In my case it is related to this optional dependency of
It fails (
However, it builds successfully when I add the
I'm using MacOS x86_64. Note.- I've tried |
Sadly this didnt work. Its still trying to build. Im gonna try a crate.select based off platform for features. Not sure what changed that broke this. |
Update: Cannot get it to work. Seems like the appropriate |
Any Update / Advice here? |
We have updated to rules rust 0.54.1 and we are noticing a weird regression with the
reqwest
library. They added a default feature configurationdefault = ["default-tls", "charset", "http2", "macos-system-configuration"]
for a mac-os specific crate. It takes the following flagsFor some reason on linux x86 and linux-arm64 it s hitting the
target_os
flag in bazel and it is not doing so with withrules_rust 0.48.0
or with cargo. Any idea why this is happening?Ive tried using the
crate.annotation
But i am getting cyclic deps
Any idea why this could happen? This is stopping us from updating rust.
The text was updated successfully, but these errors were encountered: