summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2020-02-06 16:18:14 +0100
committerLinus Färnstrand <linus@mullvad.net>2020-02-06 16:35:36 +0100
commitf4862deaf93ec6ef47c124cb0cccc0608bcae237 (patch)
tree607bc38f0f87eb2014d459f876b1fd4e401cf964
parent42442bb8701b2e976dc73e4b4d3a1308732cdcab (diff)
downloadmullvadvpn-f4862deaf93ec6ef47c124cb0cccc0608bcae237.tar.xz
mullvadvpn-f4862deaf93ec6ef47c124cb0cccc0608bcae237.zip
Document why we have mysteriously set a specific opt-level
-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"