summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 313c5aa5e8..c25bc54279 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,4 +16,9 @@ members = [
exclude = ["dist-assets/binaries/shadowsocks-rust"]
[profile.release]
+# FIXME: This is here as a temporary hack to stop the mullvad-daemon from segfaulting
+# on Windows. Can hopefully be removed after we have replaced OpenSSL with Rustls.
+# https://github.com/mullvad/mullvadvpn-app/pull/1438
+# Other opt-levels that stops the daemon from crashing include 0 and 1. Crashes has
+# only been detected on 2.
opt-level = "s"