-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-checkS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
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
meltinglava and jgarvin
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-checkS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.