esp-rs / esp-flasher-stub

Rust implementation of flasher stub located in esptool
Apache License 2.0
18 stars 10 forks source link

Unable to build stub for RISC-V targets using `xtask` after switching to `stable` toolchain #71

Closed jessebraham closed 1 month ago

jessebraham commented 1 month ago

In #70 we switched from nightly to stable, however unfortunately the CI was not correctly updated and is still performing checks using nightly.

As a result, the stubs are currently not buildable when using the xtask package and targeting RISC-V devices due to the inclusion of the -Z flag, which is unstable, e.g.)

jesse@mbp ~/W/e/xtask git:fixes/update [ ✎ ⚑ ] 
🦀 nightly@1.83.0 λ 
cargo run -- build esp32c2
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
     Running `target/debug/xtask build esp32c2`
error: the `-Z` flag is only accepted on the nightly channel of Cargo, but this is the `stable` channel
See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.

cc @SergioGasquez @JurajSadel