summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2020-02-03 12:15:21 +0000
committerEmīls <emils@mullvad.net>2020-02-03 12:15:21 +0000
commit12a981eafcafb3edc4ba7eec20e7a0a82b6fe43c (patch)
treea158573db13df0876649077bdf52454a50ac2a7d
parentf353b869ae4133c931e31ff9f83ffd26d41a0f6a (diff)
parent58625c742d824a820324a73f7784ebfb704721d6 (diff)
downloadmullvadvpn-12a981eafcafb3edc4ba7eec20e7a0a82b6fe43c.tar.xz
mullvadvpn-12a981eafcafb3edc4ba7eec20e7a0a82b6fe43c.zip
Merge branch 'add-optlevel-s-for-release'
-rw-r--r--CHANGELOG.md2
-rw-r--r--Cargo.toml3
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7db9093161..d05959ca96 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -34,6 +34,8 @@ Line wrap the file at 100 chars. Th
- Updated `wireguard-go` to `v0.0.20200121`
- Use traffic data from WireGuard to infer connectivity to improve stability of the connection.
- Remove WireGuard keys from accounts when they are removed from the local account history.
+- Change the optimization level for releases from the default value to `s`, as a temporary fix for
+ the system service crashing on Windows for newer CPU models.
#### Linux
- DNS management with static `/etc/resolv.conf` will now work even when no
diff --git a/Cargo.toml b/Cargo.toml
index 04d05658d9..313c5aa5e8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,3 +14,6 @@ members = [
"talpid-ipc",
]
exclude = ["dist-assets/binaries/shadowsocks-rust"]
+
+[profile.release]
+opt-level = "s"