-
Notifications
You must be signed in to change notification settings - Fork 216
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
add new const_fn_trait_bound feature gate #281
Conversation
bors r+ |
281: add new const_fn_trait_bound feature gate r=Amanieu a=RalfJung This (and a subsequent release of `lock_api`) is needed to make rust-lang/rust#84556 work. Co-authored-by: Ralf Jung <post@ralfj.de>
Timed out. |
I am hesitant to release a new version until rust-lang/rust#84538 is resolved. At the moment the new lock_api only builds on a nighly that has no rustfmt, which most people won't have. |
Well, only with the |
FWIW, even if we had a release we still couldn't use it in rustc yet as the bootstrap compiler does not yet know about Using nightly-only features in external crates that the compiler uses internally leads to some "interesting" bootstrap issues. Does rustc truly need these nightly-only features? |
I think rustc would work fine with the nightly feature on |
Yeah, my experiment concluded the same. However, the docs say that some locks become more efficient with "nightly" enabled, so maybe that's why the feature was enabled? The only place that enables the feature seems to be here and it does that ever since this particular dependency was added. |
That only applies to |
Right now, having a new release of |
I published lock_api 0.4.4 |
This (and a subsequent release of
lock_api
) is needed to make rust-lang/rust#84556 work.