fixed rust-analyzer trying to check the top workspace without cross-compiling.

This commit is contained in:
Gabe Venberg 2025-07-03 02:22:36 +02:00
parent b894d424aa
commit 6f6660fd6a
3 changed files with 15 additions and 1 deletions

11
.cargo/config.toml Normal file
View file

@ -0,0 +1,11 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
rustflags = [
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
]
[build]
target = "thumbv7em-none-eabihf"
[env]
DEFMT_LOG = "debug"