Hey Rustacean!
I'd like to build arm64e apps on macOS. So, I have tried to patch the Rust compiler, but I got the linked error for std
, panic_unwind
, etc.:
building for iOS-arm64e but attempting to link with file build for unknown-arm64
I have tried to add two new targets: arm64e-apple-ios
and arm64e-apple-dawrin
.
They are based on:
- https://github.com/rust-lang/rust/blob/master/compiler/rustc_target/src/spec/aarch64_apple_darwin.rs
- https://github.com/rust-lang/rust/blob/master/compiler/rustc_target/src/spec/aarch64_apple_ios.rs
Could you please share your tips how to add support arm64e for iOS/macOS ?