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.

Abort collaboration process if any thread panics

Antonio Scandurra647d9861b1e0
diff --git a/Cargo.toml b/Cargo.toml
index 77469c0623d..39e4cd6367c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -84,5 +84,3 @@ split-debuginfo = "unpacked"
[profile.release]
debug = true
-
-
diff --git a/Dockerfile b/Dockerfile
index 5a6279a95e3..d3170696c5f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,6 +5,7 @@ WORKDIR app
COPY . .
# Compile collab server
+ARG CARGO_PROFILE_RELEASE_PANIC=abort
RUN --mount=type=cache,target=./script/node_modules \
--mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=./target \