summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2022-02-03 16:31:04 +0100
committerLinus Färnstrand <linus@mullvad.net>2022-02-03 16:31:04 +0100
commitfe486003f92ed264c788874aa1eb3bf2fd1c3077 (patch)
tree92b56eaf71a304d4906295ec53e954ee5818ca90
parent69e4ca2fec576d28b1926e75aba6f6b3ebb785a9 (diff)
parent8f258926233cebb893d9f73bef4420ce06bc4a89 (diff)
downloadmullvadvpn-fe486003f92ed264c788874aa1eb3bf2fd1c3077.tar.xz
mullvadvpn-fe486003f92ed264c788874aa1eb3bf2fd1c3077.zip
Merge branch 'enable-lto-and-optimizations'
-rw-r--r--Cargo.toml8
1 files changed, 2 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 0078b2b3a6..c4eb1e3054 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,9 +19,5 @@ 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"
+opt-level = 3
+lto = true