Use target os instead of family
This commit is contained in:
parent
eaedfddac1
commit
735a1a50b2
|
@ -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"]
|
Loading…
Reference in New Issue