Open
Description
As I understand cargo check
works only with files,
so work pattern should looks like:
- Enter a couple of symbols
- Save file to disk
- Run
cargo check
A lot of saves, bad for SSD.
So it would be good if cargo check
provide interface like:
cargo check --temp-file-name src/lib.rs
in such mode cargo
read content of modified src/lib.rs
from stdin,
and do cargo check
as src/lib.rs
contains data that cargo
read from stdin.
This helps for example flycheck-rust: flycheck/flycheck-rust#29