From 735a1a50b26a8cb19e4e27bdc159fe0c0a92e44b Mon Sep 17 00:00:00 2001 From: danielsanchezq Date: Tue, 27 Sep 2022 15:59:59 +0200 Subject: [PATCH] Use target os instead of family --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 4a22da7..5bc05eb 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,4 +1,4 @@ -[target.'cfg(target_family = "unix")'] +[target.'cfg(target_os = "macos")'] # 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