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

Doku doesn't compile on stable Rust #11

Closed
Nutomic opened this issue Oct 5, 2021 · 2 comments
Closed

Doku doesn't compile on stable Rust #11

Nutomic opened this issue Oct 5, 2021 · 2 comments

Comments

@Nutomic
Copy link

Nutomic commented Oct 5, 2021

$ cargo +stable --version
cargo 1.55.0 (32da73ab1 2021-08-23)

$ cargo +stable check
Compiling proc-macro2 v1.0.29
Compiling syn v1.0.77
Compiling unicode-xid v0.2.2
Compiling version_check v0.9.3
Compiling fnv v1.0.7
Compiling strsim v0.10.0
Compiling ident_case v1.0.1
Compiling serde_derive v1.0.130
Compiling serde v1.0.130
Compiling anyhow v1.0.44
Compiling proc-macro-error-attr v1.0.4
Compiling proc-macro-error v1.0.4
Checking quote v1.0.9
Checking darling_core v0.13.0
Checking doku-test v0.0.0 (/home/felix/workspace/doku/doku-test)
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/darling_core-0.13.0/src/lib.rs:2:38
|
2 | #![cfg_attr(feature = "diagnostics", feature(proc_macro_diagnostic))]
|                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `darling_core` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed

Disabling the "diagnostics" feature of darling_core fixes the problem. Could you please make a patch release with that change? :)

@Patryk27
Copy link
Collaborator

Patryk27 commented Oct 5, 2021

Hi, thanks for reporting - I've just released 0.10.1 which works on stable 1.51+ 🙂

@Patryk27 Patryk27 closed this as completed Oct 5, 2021
@Nutomic
Copy link
Author

Nutomic commented Oct 8, 2021

Thank you :)

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

2 participants