Added missing cargo config file

This commit is contained in:
danielsanchezq 2022-09-27 15:57:13 +02:00
parent 2dc37fc2f6
commit eaedfddac1
1 changed files with 4 additions and 0 deletions

4
.cargo/config.toml Normal file
View File

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