https://github.com/polymeilex/vscode-rust-targets
Change rust targets easily
https://github.com/polymeilex/vscode-rust-targets
Last synced: 4 months ago
JSON representation
Change rust targets easily
- Host: GitHub
- URL: https://github.com/polymeilex/vscode-rust-targets
- Owner: PolyMeilex
- Created: 2021-01-23T12:21:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-05T06:14:49.000Z (over 1 year ago)
- Last Synced: 2025-12-21T07:00:18.547Z (6 months ago)
- Language: TypeScript
- Size: 416 KB
- Stars: 8
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# VSCode Rust Targets
[](https://marketplace.visualstudio.com/items?itemName=PolyMeilex.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 `rust.target` from setting, which in consequence sets your target to your current host system.
```json
"rust-targets.targets": [
"system",
"x86_64-pc-windows-gnu",
"x86_64-apple-darwin",
"wasm32-unknown-unknown",
"x86_64-unknown-linux-gnu"
]
```