Errors in compiling after adding tinytga to Cargo.toml
RCasatta opened this issue · 2 comments
RCasatta commented
- Version of tinytga in use (if applicable): 0.4.1
Description of the problem/feature request/other
After uncommenting tinytga = "0.4.1"
in this project https://github.com/RCasatta/embedded_playground/tree/master/aerotemp-f1-rtic-2
I've got this errors
$ cargo check
Checking memchr v2.3.4
error[E0463]: can't find crate for `std`
|
= note: the `thumbv7m-none-eabi` target may not support the standard library
= note: `std` is required by `memchr` because it does not declare `#![no_std]`
.....
|
error[E0425]: cannot find value `None` in this scope
--> /home/casatta/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.3.4/src/lib.rs:447:9
|
447 | None
| ^^^^ not found in this scope
|
help: consider importing this unit variant
|
43 | use core::option::Option::None;
|
Some errors have detailed explanations: E0405, E0412, E0425, E0463.
For more information about an error, try `rustc --explain E0405`.
error: could not compile `memchr` due to 77 previous errors
rfuest commented
Try to change the edition in Cargo.toml
to 2021 or add resolver = "2"
in the package
section.
RCasatta commented
It worked, thanks