-
Notifications
You must be signed in to change notification settings - Fork 89
embedded-io compilation fails #118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am experiencing the same problem. |
Ok, so I am still new to Rust and a hardly know what I am doing here, but it seems to work, so here it is: After some searching I found this Reddit post, which says that the feature must be enabled using The error says the problem occurs in this file: Now it works for me. I don't really think that this is a solution, but I also don't think that it can break much either, as you can always just delete the |
Thanks for the hint! I was thinking about doing what the compiler suggests, as well. However, this can't be a permanent solution. So either embedded-io needs to fix this (which I doubt, because there v0.3.1 is very recent and fixes some issue with nightly), or this repo needs some change – but I have no clue which. Moreover, it doesn't work on the docker container either. There is an issue with rustc being too old (1.61 and comfy-table needs 1.62 or newer) when installing cargo-espflash. |
Thanks for the explanation! |
Just as an info for anyone else encountering the issue, the following steps can be used as a workaround:
|
Workaround for esp-rs/std-training#118
Easier temp solution than cloning repo. Just override to a prev package version.
and then Thanks to @elotom |
Thanks @fakeplant ! Works like a charm. |
This should now be fixed with #125 |
After following the instructions in the book, I tried building the Hello Board project with
cargo build --target riscv32imc-esp-espidf
.The build then fails with many errors of the following type:
My rust toolchain is up to date and the specific version requested in the book is available:
The text was updated successfully, but these errors were encountered: