Edwin Cheng
ff5883637c
Fix unused import for windows in cargo_watch test
2020-01-04 01:18:46 +08:00
Emil Lauridsen
167cbb7c4d
Disable cargo_watch snapshot tests on windows
2020-01-01 23:21:35 +01:00
bors[bot]
be37c3369b
Merge #2681
...
2681: cargo-watcher: Resolve macro call site in more cases r=matklad a=kiljacken
This resolves the actual macro call site in a few more cases, f.x. when a macro invokes `compile_error!` (I'm looking at you `ra_hir_def::path::__path`).
Co-authored-by: Emil Lauridsen <mine809@gmail.com>
2019-12-29 21:40:42 +00:00
Emil Lauridsen
bca8524fa2
Add related information with original error site
2019-12-29 20:10:20 +01:00
Emil Lauridsen
96156b95b5
Resolve macro call site in more cases
2019-12-29 19:14:18 +01:00
Emil Lauridsen
0d69d23d2f
Lowercase drive letters when getting paths from cargo check
2019-12-29 18:27:14 +01:00
Aleksey Kladov
e1d040a6a4
Reduce visibility
2019-12-29 15:07:53 +01:00
Emil Lauridsen
899dbebd02
Fix busy-waiting issue in main cargo watch thread
2019-12-27 17:29:02 +01:00
Emil Lauridsen
c732f215cb
Don't finish main cargo watch thread when subprocess finishes.
2019-12-27 12:43:14 +01:00
Emil Lauridsen
ed84c85aef
Fix shutdown behavoir of main cargo-watch thread.
...
Even though this didn't error, it became clear to me that it was closing
the wrong channel, resulting in the child thread never finishing.
2019-12-27 12:42:18 +01:00
Emil Lauridsen
59837c75f4
Add doc comment to module
2019-12-27 11:57:00 +01:00
Emil Lauridsen
4d33835a34
Cargo fmt run
2019-12-27 11:47:09 +01:00
Emil Lauridsen
02ce5bbf6b
Shutdown/cancelation story for main cargo watch thread
2019-12-27 11:43:05 +01:00
Emil Lauridsen
a2d10694cc
Consistent, hopefully robust, shutdown/cancelation story for cargo check subprocess
2019-12-27 11:32:05 +01:00
Emil Lauridsen
428a6ff5b8
Move cargo watch functionality to separate crate
2019-12-27 11:10:07 +01:00