-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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
Can't find crate for test
error
#10716
Labels
S-unactionable
Issue requires feedback, design decisions or is blocked on other work
Comments
probably same as in #10659 (comment)
|
@caemor did that work for you? |
Yes this fixed the issue, thanks. |
oddstr13
added a commit
to oddstr13/dk-rtic-smoltcp-6lowpan
that referenced
this issue
Mar 19, 2022
Daedrus
added a commit
to Daedrus/configfiles
that referenced
this issue
Jun 23, 2023
So that the following error is fixed when working with embedded Rust rust-lang/rust-analyzer#10716
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems to be a new error or I always manually compiled with the specific target but rust analyzer outputs that it can't find crate for
test
with the target set to a the target seen below (and maybe to others as well?). For each bin, lib.rs or main.rs it outputs the exact same message once.Reduced example:
Create new rust project with
cargo new SomeName
and then modify the following files:.cargo/config.toml
:main.rs
:Rust Analyzer: v0.2.801
Copied Error Message:
The text was updated successfully, but these errors were encountered: