Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Rust TargetsNew to Visual Studio Code? Get it now.
Rust Targets

Rust Targets

PolyMeilex

|
133,009 installs
| (0) | Free
Change rust targets easily
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Rust Targets

badge

Super simple extension to change rust target in VS Code without opening setting.json

img img

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.

"rust-targets.targets": [
    "system",
    "x86_64-pc-windows-gnu",
    "x86_64-apple-darwin",
    "wasm32-unknown-unknown",
    "x86_64-unknown-linux-gnu"
]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft