Enable cfg predicate for target_feature = "crt-static" only if the target supports it#71775
Enable cfg predicate for target_feature = "crt-static" only if the target supports it#71775bors merged 1 commit intorust-lang:masterfrom
cfg predicate for target_feature = "crt-static" only if the target supports it#71775Conversation
|
(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_features do.