diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..17b73c8 --- /dev/null +++ b/.cargo/config.toml @@ -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"] \ No newline at end of file diff --git a/waku-sys/build.rs b/waku-sys/build.rs index 955f6c4..5983533 100644 --- a/waku-sys/build.rs +++ b/waku-sys/build.rs @@ -1,5 +1,3 @@ -extern crate core; - use std::env; use std::env::set_current_dir; use std::path::PathBuf;