From 0a990c733c6ab35866deae784d4409896e421cfb Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 23 Nov 2023 15:09:13 +0100 Subject: [PATCH] fix: build on mac --- .cargo/config | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.cargo/config b/.cargo/config index c91c3f3..31ffe83 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,2 +1,14 @@ +[target.x86_64-apple-darwin] +rustflags = [ + "-C", "link-arg=-undefined", + "-C", "link-arg=dynamic_lookup", +] + +[target.aarch64-apple-darwin] +rustflags = [ + "-C", "link-arg=-undefined", + "-C", "link-arg=dynamic_lookup", +] + [net] git-fetch-with-cli = true