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

cargo-c for rust 2021 edition #231

Closed
wonchulee opened this issue Oct 22, 2021 · 3 comments
Closed

cargo-c for rust 2021 edition #231

wonchulee opened this issue Oct 22, 2021 · 3 comments

Comments

@wonchulee
Copy link

wonchulee commented Oct 22, 2021

Hi,
Rust 1.56 and 2021 edition has been released thus cargo-c seems to require a new release for it.
The following problem has gone in my 2021 edition crate when I use cargo-c that was rebuilt with rust 1.56.

Error: CliError { error: Some(failed to parse manifest at `/home/wonchul/work/gst-plugins-cus/live/Cargo.toml`

Caused by:
    feature `edition2021` is required

    The package requires the Cargo feature called `edition2021`, but that feature is not stabilized in this version of Cargo (1.55.0).
    Consider adding `cargo-features = ["edition2021"]` to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use this unstable feature.
    See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2021 for more information about the status of this feature.
    ), exit_code: 101 }
@lu-zero
Copy link
Owner

lu-zero commented Oct 22, 2021

#232 will land soon and I'll make a point release today after that.

@lu-zero
Copy link
Owner

lu-zero commented Oct 22, 2021

https://github.com/lu-zero/cargo-c/releases/tag/v0.9.5 Should address this issue

@wonchulee
Copy link
Author

It resolved with v0.9.5, thanks

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