Building linux target on macOS


#1

Hi.
I’ve decided to start learning Rust by rewriting an old C project.
The problem is that the project should work on linux machines, and I have a Mac :slight_smile:
Is there any way to build a linux binary on Mac? Naive cargo build --target=x86_64-unknown-linux-musl didn’t work:

  = note: ld: unknown option: --as-needed