-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Enable cfg
predicate for target_feature = "crt-static"
only if the target supports it
#71775
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
The annoying question here is "what happens if the target supports At configuration time we don't know the crate type(s) produced by the code - it may be specified by attributes. Fortunately, |
☔ The latest upstream changes (presumably #71807) made this pull request unmergeable. Please resolve the merge conflicts. |
…e target supports it
@bors r+ |
📌 Commit 33b6631 has been approved by |
Enable `cfg` predicate for `target_feature = "crt-static"` only if the target supports it That's what all other `target_feature`s do.
☀️ Test successful - checks-actions, checks-azure |
That's what all other
target_feature
s do.