Skip to content
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

Crate requires nightly #5

Open
porky11 opened this issue Aug 7, 2022 · 3 comments
Open

Crate requires nightly #5

porky11 opened this issue Aug 7, 2022 · 3 comments

Comments

@porky11
Copy link

porky11 commented Aug 7, 2022

I can't use this crate without nightly. The documentation only states, nightly is required for some features.

Error message:

error[E0554]: `#![feature]` may not be used on the stable release channel
   --> /home/p11/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-traits-0.8.1/src/lib.rs:107:1
    |
107 | #![feature(generic_associated_types)]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `cc-traits` due to previous error
@DCNick3
Copy link

DCNick3 commented Sep 13, 2022

It seems that the gat usage was added in #1 thinking that they were going to get stabilized soon (if only...).

@timothee-haudebourg promised not to release it before the GATs are stabilized, but it seems that the nightly feature was enabled in 0.5.0 release with only tagged release without GATs being 0.4.0.

The GAT-using PR was merged to a separate branch but later the gat branch was merged into master in 247c23a

Using version 0.4.0 might allow you to not depend on nightly, but I am not sure how feature-complete that version is

@timothee-haudebourg
Copy link
Owner

@timothee-haudebourg promised not to release it before the GATs are stabilized

I don't remember promising anything. It is true that starting from 0.5 this crate is no longer compatible with stable Rust anymore because of GATs. Those should be shipped with Rust 1.65 at which point I'll release a version without unstable features.

@mjt0k
Copy link

mjt0k commented Nov 30, 2024

1.65 has been out for quite some time already, fwiw ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants