aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-03-21 21:30:33 +0000
committerveetaha <[email protected]>2020-03-21 21:37:15 +0000
commitce73c43848aa394530693967b8a6e9343f7b99b8 (patch)
treeafc49f519ddabc5218565bde517ff6fe800e7aa0 /.gitattributes
parent59ba386bee974b56b546eb7e8fdec6721ab0d08a (diff)
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
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions