Skip to content

Commit

Permalink
fix building issue on m2
Browse files Browse the repository at this point in the history
  • Loading branch information
seemenkina committed Nov 5, 2024
1 parent c6560ca commit dd10145
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[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 -framework CoreServices -lresolv"]

0 comments on commit dd10145

Please sign in to comment.