Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

save debug disk

rustdesk0d8e3dc24fc2
diff --git a/Cargo.lock b/Cargo.lock
index 9ef856cfd..9d14118bc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5257,6 +5257,7 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"rustls 0.21.10",
+ "rustls-native-certs",
"rustls-pemfile",
"serde 1.0.190",
"serde_json 1.0.107",
diff --git a/Cargo.toml b/Cargo.toml
index 8dd4e48cc..b1368b837 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -193,3 +193,7 @@ panic = 'abort'
strip = true
#opt-level = 'z' # only have smaller size after strip
rpath = true
+
+[profile.dev]
+split-debuginfo = '...' # Platform-specific.
+#strip = "debuginfo"