Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make RustEdition public #3012

Closed
nikkon-dev opened this issue Dec 1, 2024 · 0 comments · Fixed by #3013
Closed

Make RustEdition public #3012

nikkon-dev opened this issue Dec 1, 2024 · 0 comments · Fixed by #3013

Comments

@nikkon-dev
Copy link
Contributor

Current RustEdition is imported privately from the futures module, which makes it impossible to use form build.rs scripts like

let bindings = builder().rust_edition(RustEdition::Edition2024).generate();

The only option is to use rust_target, but its hidden logic for selecting the edition is not documented.

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

Successfully merging a pull request may close this issue.

1 participant