Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 542 Bytes

INSTALL.md

File metadata and controls

28 lines (22 loc) · 542 Bytes

Install

macOS

If you have ld or linking with cc errors when building on macOS, the solution is to add the following sections to your global cargo config located in ~/.cargo

If you don't have one yet:

touch ~/.cargo/config

In your editor of choice, add the following sections:

[target.x86_64-apple-darwin]
rustflags = [
  "-C", "link-arg=-undefined",
  "-C", "link-arg=dynamic_lookup",
]

[target.aarch64-apple-darwin]
rustflags = [
  "-C", "link-arg=-undefined",
  "-C", "link-arg=dynamic_lookup",
]