Add rs-notify implementation of fs::watch
(#9040)
This PR simplifies the Zed file system abstraction and implements `Fs::watch` for linux and windows. TODO: - [x] Figure out why this fails to initialize the file watchers when we have to initialize the config directory paths, but succeeds on subsequent runs. - [x] Fix macOS dependencies on old fsevents::Event crate Release Notes: - N/A
This commit is contained in:
parent
456efb53ad
commit
ca696fd5f6
13 changed files with 478 additions and 493 deletions
|
@ -47,10 +47,7 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
|
|||
clippy_command.arg("--workspace");
|
||||
}
|
||||
|
||||
clippy_command
|
||||
.arg("--release")
|
||||
.arg("--all-targets")
|
||||
.arg("--all-features");
|
||||
clippy_command.arg("--release").arg("--all-features");
|
||||
|
||||
if args.fix {
|
||||
clippy_command.arg("--fix");
|
||||
|
@ -60,6 +57,7 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
|
|||
|
||||
// Deny all warnings.
|
||||
// We don't do this yet on Windows, as it still has some warnings present.
|
||||
// todo(windows)
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
clippy_command.args(["--deny", "warnings"]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue