Closed okhsunrog closed 4 months ago
When adding this project to RustRover IDE or VS Code rust-analyzer runs on project sync. It fails with this message:
error[E0308]: mismatched types --> /home/okhsunrog/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test/src/test_result.rs:102:18 | 101 | None => match status.signal() { | --------------- this expression has type `Option<i32>` 102 | Some(libc::SIGABRT) => TestResult::TrFailed, | ^^^^^^^^^^^^^ expected `i32`, found `usize`
I suggest adding harness = false to disable these checks. You can take a look here, for example: https://github.com/rust-lang/rust/issues/125714 https://github.com/esp-rs/esp-idf-template/commit/d084765561bd827d94eece13dedec90e97928e99
The commit in my branch fixes the issue.
LGTM, thanks! Do you mind fixing the CI error and I'll merge this in?:)
Sure, I'll fix it
fixed
When adding this project to RustRover IDE or VS Code rust-analyzer runs on project sync. It fails with this message:
I suggest adding harness = false to disable these checks. You can take a look here, for example: https://github.com/rust-lang/rust/issues/125714 https://github.com/esp-rs/esp-idf-template/commit/d084765561bd827d94eece13dedec90e97928e99
The commit in my branch fixes the issue.