You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having the following issue trying to compile the bare minimum:
Error:
Compiling generic-array v0.14.6
Compiling generic-array v0.12.4
Compiling generic-array v0.13.3
Compiling sha1 v0.6.1
error[E0463]: can't find crate for `std`
|
= note: the `thumbv7em-none-eabi` target may not support the standard library
= note: `std` is required by `sha1` because it does not declare `#![no_std]`
= help: consider building the standard library from source with `cargo build -Zbuild-std
For more information about this error, try `rustc --explain E0463`.
error: could not compile `sha1` due to previous error
warning: build failed, waiting for other jobs to finish...
Even though I've set the dependency of embedded-websocket as instructed in the readme.
Also as far as I can see sha1 does declare #![no_std] but the error says no.
note: importing sha1 in my project (with default-features = false) and removing embedded-websocket does not produce the error.
What is going on here and what would be the proper way to resolve this issue?
Hi Jack, yes it appears so. I plan to update crates.io as soon as I have finalized the async stuff which has been a little tricky to implement. Soon! I'll try to add a no_std build target to the examples so that the build breaks if this sort of thing happens again.
Having the following issue trying to compile the bare minimum:
Error:
Even though I've set the dependency of embedded-websocket as instructed in the readme.
Also as far as I can see sha1 does declare #![no_std] but the error says no.
note: importing sha1 in my project (with default-features = false) and removing embedded-websocket does not produce the error.
What is going on here and what would be the proper way to resolve this issue?
rustc --version: rustc 1.66.0-nightly (758f19645 2022-10-24)
Cargo.toml:
.cargo/config.toml:
src/main.rs:
Kind regards,
Jack
The text was updated successfully, but these errors were encountered: