commit b281b62068a712fec2ce54947bb79c48ce3cd8bc
parent 0d5c5f78b174c4965ec050494f9fc97718c56a84
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 7 Oct 2023 23:36:58 +0200
Do not use -Z flags in the build
Diffstat:
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/.cargo/config.toml b/.cargo/config.toml
@@ -4,7 +4,7 @@ YARA_INCLUDE_DIR = { value = "build/yara/include", relative = true }
[target.x86_64-unknown-linux-gnu]
linker = "clang"
-rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
+rustflags = ["-Clink-arg=-fuse-ld=lld"]
# NOTE: you must install [Mach-O LLD Port](https://lld.llvm.org/MachO/index.html) on mac. you can easily do this by installing llvm which includes lld with the "brew" package manager:
# `brew install llvm`
@@ -12,16 +12,13 @@ rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
rustflags = [
"-C",
"link-arg=-fuse-ld=/usr/local/opt/llvm/bin/ld64.lld",
- "-Zshare-generics=y",
]
[target.aarch64-apple-darwin]
rustflags = [
"-C",
"link-arg=-fuse-ld=/opt/homebrew/opt/llvm/bin/ld64.lld",
- "-Zshare-generics=y",
]
[target.x86_64-pc-windows-msvc]
-linker = "rust-lld.exe"
-rustflags = ["-Zshare-generics=n"]
-\ No newline at end of file
+linker = "rust-lld.exe"
+\ No newline at end of file