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
When the latest versions of esp-hal and slint are present simultaneously, a compilation error occurs:
[dependencies]
esp-hal = { version = "0.16.1", features = ["esp32c3"] }
slint ={version = "1.5.1", default-features = false, features = [
"compat-1-2",
"unsafe-single-threaded",
"libm",
"renderer-software"]}
The error message is as follows:
cargo build
Compiling portable-atomic v1.6.0
error: you may not enable feature `critical-section` and cfg(portable_atomic_unsafe_assume_single_core) at the same time
--> /Users/admin/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/portable-atomic-1.6.0/src/lib.rs:409:1
|
409 | / compile_error!(
410 | | "you may not enable feature `critical-section` and cfg(portable_...
411 | | );
| |_^
error: could not compile `portable-atomic` (lib) due to 1 previous error
The text was updated successfully, but these errors were encountered:
When the latest versions of
esp-hal
andslint
are present simultaneously, a compilation error occurs:The error message is as follows:
The text was updated successfully, but these errors were encountered: