From 53a8e069af5b122f62e5f7eaac033ab50729a561 Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Quiros Date: Tue, 27 Sep 2022 08:54:17 +0200 Subject: [PATCH] Set rustflags just for unix family --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 17b73c8..4a22da7 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,4 +1,4 @@ -[build] +[target.'cfg(target_family = "unix")'] # when using osx, we need to link against some golang libraries, it did just work with this missing flags # from: https://github.com/golang/go/issues/42459 rustflags = ["-C", "link-args=-framework CoreFoundation -framework Security"] \ No newline at end of file