-
Notifications
You must be signed in to change notification settings - Fork 392
Open
Labels
bugSomething isn't workingSomething isn't workingpackage:esp-rom-sysIssue related to the esp-rom-sys packageIssue related to the esp-rom-sys package
Description
Bug description
Project generated with esp-generate fails with the following error
error[E0599]: no method named `to_ascii_lowercase` found for type `i8` in the current scope
--> /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/esp-rom-sys-0.1.3/src/lib.rs:86:31
|
86 | let val = (*s1_i).to_ascii_lowercase() as i32 - (*s2_i).to_ascii_lowercase() as i32;
| ^^^^^^^^^^^^^^^^^^ method not found in `i8`
error[E0599]: no method named `to_ascii_lowercase` found for type `i8` in the current scope
--> /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/esp-rom-sys-0.1.3/src/lib.rs:86:69
|
86 | let val = (*s1_i).to_ascii_lowercase() as i32 - (*s2_i).to_ascii_lowercase() as i32;
| ^^^
To Reproduce
- install toolchain with espup
- generate
esp32project withesp-generate(options don't seem to matter, I tried different ones) - run
cargo run
Expected behavior
The library compiles
Environment
- Target device:
esp32 - Crate name and version:
esp-rom-sys0.1.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpackage:esp-rom-sysIssue related to the esp-rom-sys packageIssue related to the esp-rom-sys package
Type
Projects
Status
Todo