linking with cc
failed
#2870
-
when I am using this command to install
but shows this error:
what should I do to fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I do not have access to a MacOS system other than our CI system, so I cannot help much here. See here for how the CI system installs all required dependencies. |
Beta Was this translation helpful? Give feedback.
-
On windows and linux, you can build normally with cargo build --release. On Mac Os, you need to set additional linker arguments. The simplest solution is to create a .cargo/config with the following content:
|
Beta Was this translation helpful? Give feedback.
On windows and linux, you can build normally with cargo build --release. On Mac Os, you need to set additional linker arguments. The simplest solution is to create a .cargo/config with the following content:
rust-lang/rust#60149