rust/crates/ra_project_model
veetaha ce73c43848 ra_cargo_watch: return Result<> from run_cargo(), and don't read stderr for now
As stated by matklad, reading the stderr
should be done alngside with
stdout via select() (or I guess poll()),
there is no such implementation in stdlib,
since it is quite low level and platform-dependent and it
also requires quite a bit of unrelated code we don't use it for now.

As referenced by bjorn3, there is an implementation of the needed read2() function
in rustc compiletest. The better solution will be to extract this function
to a separate crate in future:
https://github.com/rust-analyzer/rust-analyzer/pull/3632#discussion_r395605298
2020-03-21 23:37:15 +02:00
..
src ra_cargo_watch: return Result<> from run_cargo(), and don't read stderr for now 2020-03-21 23:37:15 +02:00
Cargo.toml Support loading OUT_DIR from cargo check at launch 2020-03-17 14:47:05 +01:00