This repository was archived by the owner on Aug 1, 2024. It is now read-only.
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
Compilation fails in embedded-io #123
Closed
Description
UPDATE: Read this
Following the build instruction it fails with
Compiling atomic-waker v1.0.0
Compiling strum v0.23.0
Compiling embedded-io v0.3.1
error[E0658]: generic associated types are unstable
--> /home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/embedded-io-0.3.1/src/asynch.rs:17:5
|
17 | / type ReadFuture<'a>: Future<Output = Result<usize, Self::Error>>
18 | | where
19 | | Self: 'a;
| |_________________^
|
= note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
= help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
error[E0658]: where clauses on associated types are unstable
--> /home/lieven/.cargo/registry/src/github.com-1ecc6299db9ec823/embedded-io-0.3.1/src/asynch.rs:17:5
|
17 | / type ReadFuture<'a>: Future<Output = Result<usize, Self::Error>>
18 | | where
19 | | Self: 'a;
| |_________________^
|
= note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
= help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
error[E0658]: generic associated types are unstable
....
Previous commands :
git clone https://github.com/esp-rs/rust-build.git
cd rust-build
./install-rust-toolchain.sh
. export-esp.sh
cd ../rust-esp32-std-demo/
rustup default esp
cargo build
Metadata
Metadata
Assignees
Labels
No labels