esp-rs / embuild

Build support for embedded Rust: Cargo integration with other embedded build ecosystems & tools, like PlatformIO, CMake and kconfig.
Apache License 2.0
139 stars 40 forks source link

Require Rust toolchain 1.58 or greater #45

Closed kevin-june closed 2 years ago

kevin-june commented 2 years ago

This specifies a minimum requirement for the Rust toolchain. If a user tries to compile embuild with a Rust toolchain that is too old, compilation will fail with:

% cargo build --features espidf
error: package `embuild v0.29.1 (~/src/embuild)` cannot be built because it requires rustc 1.58 or newer, while the currently active rustc version is 1.57.0

Note that the rust-version field is only enforced in Rust toolchains version 1.56 and newer.

ivmarkov commented 2 years ago

Thanks!