From eaedfddac1645b5855b777743315313722f98f5e Mon Sep 17 00:00:00 2001 From: danielsanchezq Date: Tue, 27 Sep 2022 15:57:13 +0200 Subject: [PATCH] Added missing cargo config file --- .cargo/config.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..4a22da7 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,4 @@ +[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