We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After running 'cargo build' I get the following error:
Compiling esp-idf-sys v0.31.11 error[E0308]: mismatched types --> /Users/maarten/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-sys-0.31.11/src/lib.rs:36:62 | 36 | const ESP_IDF_TIME64_CHECK: ::std::os::espidf::raw::time_t = 0 as crate::time_t; | ^^^^^^^^^^^^^^^^^^ expected i32, found i64
i32
i64
error[E0308]: mismatched types --> /Users/maarten/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-sys-0.31.11/src/lib.rs:38:51 | 38 | const ESP_IDF_TIME64_CHECK_LIBC: ::libc::time_t = 0 as crate::time_t; | ^^^^^^^^^^^^^^^^^^ expected i32, found i64
For more information about this error, try rustc --explain E0308. error: could not compile esp-idf-sys due to 2 previous errors
rustc --explain E0308
esp-idf-sys
The text was updated successfully, but these errors were encountered:
You are trying to build with ESP IDF 5.0 / master - yet - you have not enabled the espidf_time64 flag.
Sorry, something went wrong.
Here, the gory details: esp-rs/rust#110 :)
No branches or pull requests
After running 'cargo build' I get the following error:
Compiling esp-idf-sys v0.31.11
error[E0308]: mismatched types
--> /Users/maarten/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-sys-0.31.11/src/lib.rs:36:62
|
36 | const ESP_IDF_TIME64_CHECK: ::std::os::espidf::raw::time_t = 0 as crate::time_t;
| ^^^^^^^^^^^^^^^^^^ expected
i32
, foundi64
error[E0308]: mismatched types
--> /Users/maarten/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-sys-0.31.11/src/lib.rs:38:51
|
38 | const ESP_IDF_TIME64_CHECK_LIBC: ::libc::time_t = 0 as crate::time_t;
| ^^^^^^^^^^^^^^^^^^ expected
i32
, foundi64
For more information about this error, try
rustc --explain E0308
.error: could not compile
esp-idf-sys
due to 2 previous errorsThe text was updated successfully, but these errors were encountered: