make is_{arch}_feature_detected! available for std#1081
make is_{arch}_feature_detected! available for std#1081the8472 wants to merge 1 commit intorust-lang:masterfrom
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
|
Note that with #1005, |
|
Will std be updated to use it that way in the near future? |
|
Yes, I plan on updating the stdarch submodule in std as soon as #1052 lands, which is blocked on rust-lang/rust#82838. |
|
Actually there might be a libs team FCP on the merge due to the const generics changes, which may take a while to resolve. |
|
Well, this only for a small optimization. I'll just submit a rust PR and note that it's blocked. |
The feature detection macros currently can't be used in std itself due to these errors.
The workaround in this PR was suggested in this zulip discussion