Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix Unexpected Console Window When Running Zed Release Build (#32144)
InfyniteHeap244d8517f1be
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rsindex 532963fadf3..490f5b8d67a 100644--- a/crates/zed/src/main.rs+++ b/crates/zed/src/main.rs@@ -1,6 +1,3 @@-// Disable command line from opening on release mode-#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]-mod reliability;mod zed;diff --git a/crates/zed/src/zed-main.rs b/crates/zed/src/zed-main.rsindex 051d02802e3..6c49c197dda 100644--- a/crates/zed/src/zed-main.rs+++ b/crates/zed/src/zed-main.rs@@ -1,3 +1,6 @@+// Disable command line from opening on release mode+#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]+pub fn main() {// separated out so that the file containing the main function can be imported by other crates,// while having all gpui resources that are registered in main (primarily actions) initialized