Relative Content

Tag Archive for visual-studio-coderustrust-cargorust-analyzer

Compile and run Rust program on save?

I’ve just installed the rust-analyzer VS Code extension and configured “format on save” using rustfmt. Hitting the “Run” button also works nicely. However, in order to speed up my workflow, I’d like to automatically have “cargo run” on save.

VSCode: compile and run Rust program on save?

I’m new to Rust and I’ve just installed the rust-analyzer VSCode extension and configured “format on save” using rustfmt. Hitting the “Run” button also works nicely. However, in order to speed up my workflow, I’d like to automatically have “cargo run” on save.