Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polymeilex/vscode-rust-targets
Change rust targets easily
https://github.com/polymeilex/vscode-rust-targets
Last synced: about 2 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 (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-10T22:43:32.000Z (10 months ago)
- Last Synced: 2024-10-11T09:48:25.591Z (2 months ago)
- Language: TypeScript
- Size: 113 KB
- Stars: 5
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# VSCode Rust Targets
[![badge](https://img.shields.io/visual-studio-marketplace/i/polymeilex.rust-targets?label=vs%20marketplace&style=flat-square)](https://marketplace.visualstudio.com/items?itemName=PolyMeilex.rust-targets)
Super simple extension to change rust target in VS Code without opening `setting.json`
![img](https://i.imgur.com/4XVZ5ko.png)
![img](https://i.imgur.com/UAszh6C.png)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"
]
```