Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

linux: HACK disable watcher and crash uploader temporarily

Dzmitry Malyshau8d339ede1c3a
diff --git a/crates/fs/src/fs.rs b/crates/fs/src/fs.rs
index edd3da101cb..05c961c4cfe 100644
--- a/crates/fs/src/fs.rs
+++ b/crates/fs/src/fs.rs
@@ -301,6 +301,8 @@ impl Fs for RealFs {
.configure(Config::default().with_poll_interval(latency))
.unwrap();
+ //TODO: unblock this
+ #[cfg(not(target_os = "linux"))]
watcher
.watch(path, notify::RecursiveMode::Recursive)
.unwrap();
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs
index 1ae1feffde6..73acfdef343 100644
--- a/crates/zed/src/main.rs
+++ b/crates/zed/src/main.rs
@@ -257,6 +257,8 @@ fn main() {
initialize_workspace(app_state.clone(), cx);
if stdout_is_a_pty() {
+ //TODO: unblock this
+ #[cfg(not(target_os = "linux"))]
upload_panics_and_crashes(http.clone(), cx);
cx.activate(true);
let urls = collect_url_args();