add one more flag
This commit is contained in:
Родитель
25e5fefc51
Коммит
48ff581143
|
@ -2,7 +2,7 @@ diff --git a/.cargo/config.toml b/.cargo/config.toml
|
|||
index 7db936b..17a3deb 100644
|
||||
--- a/.cargo/config.toml
|
||||
+++ b/.cargo/config.toml
|
||||
@@ -1,8 +1,17 @@
|
||||
@@ -1,8 +1,18 @@
|
||||
-# On Windows MSVC, statically link the C runtime so that the resulting EXE does
|
||||
-# not depend on the vcruntime DLL.
|
||||
-#
|
||||
|
@ -21,6 +21,7 @@ index 7db936b..17a3deb 100644
|
|||
+# -Ctarget-feature=+crt-static: Statically link the CRT (required to link the spectre-mitigated CRT).
|
||||
+[target.'cfg(target_os = "windows")']
|
||||
+rustflags = [
|
||||
+ "-Cehcont_guard",
|
||||
+ "-Ccontrol-flow-guard",
|
||||
+ "-Ctarget-feature=+crt-static",
|
||||
+]
|
||||
|
|
Загрузка…
Ссылка в новой задаче