node-yara-rs

git clone git://archive.git.mtrnord.blog/MTRNord/node-yara-rs.git
Log | Files | Refs | README | LICENSE

commit cb5ad18a776a0d706197b4800eb61182b876b2d8
parent 89cb9de90bf302a0dea9f569a6b30049ac0b5bff
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun,  8 Oct 2023 00:42:09 +0200

use clang also on arm linux

Diffstat:
M.cargo/config.toml | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.cargo/config.toml b/.cargo/config.toml @@ -6,6 +6,10 @@ YARA_INCLUDE_DIR = { value = "build/yara/include", relative = true } linker = "clang" rustflags = ["-Clink-arg=-fuse-ld=lld"] +[target.aarch64-unknown-linux-gnu] +linker = "clang" +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` [target.x86_64-apple-darwin]