Open burrbull opened 1 year ago
I think this issue is more related for rust-analyzer + VsCode than this crate, but this is good example.
rust-analyzer + VsCode
Trying to open repository with this .vscode/settings.json:
.vscode/settings.json
{ "rust-analyzer.check.allTargets": false, "rust-analyzer.check.targets": "thumbv7em-none-eabihf", "rust-analyzer.cargo.features": [ "h735" ], }
causes pac not found.
pac
Same time in lapce with .lapce/settings.toml
lapce
.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.
stm32xxx
Weird! I'm curious now. Could indeed be optional. I'm using Intellij myself. LMK if you think of any fix.
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
:causes
pac
not found.Same time in
lapce
with.lapce/settings.toml
all works fine.
I think the cause is that
stm32xxx
crates are optional.