Closed
Description
I am trying to compile the ring crate for the targets mentioned in the target:
cargo +nightly build -Z build-std --release --target aarch64-apple-ios-macabi -vv
cargo +nightly build -Z build-std --release --target x86_64-apple-ios-macabi -vv
Both builds fail with the same error:
clang: error: invalid version number in '--target=arm64-apple-ios13.0-macabi'
I am using M1 mac and my clang version is the following:
clang -v
Apple clang version 14.0.0 (clang-1400.0.29.102)
Target: arm64-apple-darwin21.6.0
I was trying to solve this problem by downgrading the clang. It starts working if I downgrade to 13.0. Version 13.1 and above are failing.
I see the same problem on my x64 mac as well.