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.
Current RustEdition is imported privately from the futures module, which makes it impossible to use form build.rs scripts like
The only option is to use
rust_target, but its hidden logic for selecting the edition is not documented.