Added missing cargo config

This commit is contained in:
Daniel Sanchez Quiros 2022-09-27 08:39:15 +02:00
parent a94ee694a3
commit 6a8dfd2678
2 changed files with 4 additions and 2 deletions

4
.cargo/config.toml Normal file
View File

@ -0,0 +1,4 @@
[build]
# 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"]

View File

@ -1,5 +1,3 @@
extern crate core;
use std::env;
use std::env::set_current_dir;
use std::path::PathBuf;