Set rustflags just for unix family

This commit is contained in:
Daniel Sanchez Quiros 2022-09-27 08:54:17 +02:00
parent 6a8dfd2678
commit 53a8e069af
1 changed files with 1 additions and 1 deletions

View File

@ -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"]