Rustup macabi ld: warning: directory not found for option

Hello,

I get this error when trying to compile a static lib for apple macabi: ld: warning: directory not found for option '-L/Users/desktop/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-ios-macabi/lib'
When I check the folder, there is no aarch64-apple-ios-macabi directory.
I tried to uninstall & reinstall stable + nightly without success.

Thank you in advance for your help.

What is the full command you are using to build?

I think you know on m1 it is:

cargo +nightly build -Z build-std --release --target aarch64-apple-ios-macabi