Forked from PolyMeilex to update a few behaviors.
VSCode Rust Targets
Super simple extension to change rust target in VS Code without opening setting.json
Written only for personal use, but maybe someone else also needs it, so here it is.
Enjoy!
Settings
You can configure target list by adding this to your settings.json
Choosing system will remove a specified setting, which in consequence sets your target to your current host system.
"rust-analyzer-targets.targets": [
"system",
"x86_64-pc-windows-gnu",
"x86_64-apple-darwin",
"wasm32-unknown-unknown",
"x86_64-unknown-linux-gnu"
]
| |