My main development machine is running Windows 10. I wanted to try some cross compilation to MacOS and therefore executed the following two comands to get the appropriate toolchain, or so I thought:
rustup toolchain install nightly-x86_64-apple-darwin rustup target add nightly-x86_64-apple-darwin
When updating Rust I am getting this:
nightly-x86_64-apple-darwin updated - (rustc does not exist) (from (rustc does not exist))
And when I try to compile a sample project I am getting:
error: Error loading target specification: Could not find specification for target "nightly-x86_64-apple-darwin". Use `--print target-list` for a list of built-in targets
How can I install the correct tooling to compile targeting MacOS from Windows?