Skip to content
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

rust-analyzer issues #84

Open
burrbull opened this issue May 1, 2023 · 1 comment
Open

rust-analyzer issues #84

burrbull opened this issue May 1, 2023 · 1 comment

Comments

@burrbull
Copy link

burrbull commented May 1, 2023

I think this issue is more related for rust-analyzer + VsCode than this crate, but this is good example.

Trying to open repository with this .vscode/settings.json:

{
  "rust-analyzer.check.allTargets": false,
  "rust-analyzer.check.targets": "thumbv7em-none-eabihf",
  "rust-analyzer.cargo.features": [
    "h735"
  ],
}

causes pac not found.

Same time in lapce with .lapce/settings.toml

[lapce-rust]
check.allTargets = false
check.targets = "thumbv7em-none-eabihf"
cargo.features = ["h735"]

all works fine.

I think the cause is that stm32xxx crates are optional.

@David-OConnor
Copy link
Owner

David-OConnor commented May 1, 2023

Weird! I'm curious now. Could indeed be optional. I'm using Intellij myself. LMK if you think of any fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants