From 60b3fe7307765050ed93ca8d2ff276fee8d56f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Orsv=C3=A4rn?= Date: Mon, 26 Apr 2021 15:55:02 +0200 Subject: [PATCH] Changed Zshare-generics to `n` on Windows It seems like this option needs to be off on Windows: #131 --- .cargo/config_fast_builds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config_fast_builds b/.cargo/config_fast_builds index cdada3f49ffb9..ef384812582cc 100644 --- a/.cargo/config_fast_builds +++ b/.cargo/config_fast_builds @@ -14,7 +14,7 @@ rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"] [target.x86_64-pc-windows-msvc] linker = "rust-lld.exe" -rustflags = ["-Zshare-generics=y"] +rustflags = ["-Zshare-generics=n"] # Optional: Uncommenting the following improves compile times, but reduces the amount of debug info to 'line number tables only' # In most cases the gains are negligible, but if you are on macos and have slow compile times you should see significant gains.