Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Build fails for esp32s2 #101

Closed
SergioGasquez opened this issue Jul 5, 2022 · 5 comments
Closed

Build fails for esp32s2 #101

SergioGasquez opened this issue Jul 5, 2022 · 5 comments

Comments

@SergioGasquez
Copy link

Demo is failing for esp32s2. cargo +esp build --target xtensa-esp32s2-espidf --release results in:

error[E0425]: cannot find function, tuple struct or tuple variant `ToStd` in this scope
    --> src/main.rs:1245:13
     |
1245 |             ToStd(req.into_reader()?).read_to_end(&mut body)?;
     |             ^^^^^ not found in this scope

error[E0599]: no method named `into_reader` found for struct `esp_idf_svc::http::server::EspHttpRequest` in the current scope
    --> src/main.rs:1245:23
     |
1245 |             ToStd(req.into_reader()?).read_to_end(&mut body)?;
     |                       ^^^^^^^^^^^ method not found in `esp_idf_svc::http::server::EspHttpRequest<'_>`

Some errors have detailed explanations: E0425, E0599.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `rust-esp32-std-demo` due to 2 previous errors
@darconeous
Copy link

I'm seeing the same thing.

@ivmarkov
Copy link
Owner

ivmarkov commented Aug 3, 2022

@darconeous Can you try again, by pulling latest from github?

@SergioGasquez
Copy link
Author

SergioGasquez commented Aug 4, 2022

I just did some tests with updated master branch (including b0dc9fe) and the issue still persists

ivmarkov added a commit that referenced this issue Aug 4, 2022
@ivmarkov
Copy link
Owner

ivmarkov commented Aug 4, 2022

Now fixed for real!: #101

@ivmarkov ivmarkov closed this as completed Aug 4, 2022
@SergioGasquez
Copy link
Author

I can confirm that it's now working! Thanks @ivmarkov

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants