Closed vortex314 closed 2 years ago
You're using a too old nightly, make sure to use this one:
Thanks for the swift response. looks like target xtensa-esp32-espidf enforces a bad combination of crates and rust compiler. I'm still a newbie on rust, these incompatibilities makes it difficult to get started.
@vortex314 hey, new here too 😃 How did you solve it?
@fermuch i didn't. it looks like the version 0.3.1 contains some changes that are breaking compared to 0.3.0. espressif rust is using embedded-svc that requires embedded-io 0.3 and takes by default 0.3.1, which probably worked fine with 0.3.0. this is based on my basic understanding of the dependency tree in esp-std-demo , so i could be mistaken. the esp32 target probably uses an older version of the compiler than required by this crate.
i don't have enough experience to correct this dependency. so i signalled this also to espressif github. https://github.com/ivmarkov/rust-esp32-std-demo/issues/123
Any idea what could be the cause of these compilation errors ?