tov / libffi-rs

Rust bindings for libffi
Apache License 2.0
104 stars 36 forks source link

Support aarch64-apple-ios-sim #64

Closed syrel closed 1 year ago

syrel commented 1 year ago

To reproduce:

cargo build --package libffi-sys --target aarch64-apple-ios-sim -vvvv

fails with:

[libffi-sys 2.1.0] "sh" "configure" "--with-pic" "--disable-shared" "--disable-docs" "--host=aarch64-apple-ios-sim" "--prefix" "/Users/user/libffi-rs/target/aarch64-apple-ios-sim/debug/build/libffi-sys-8b0f215606b4c280/out/libffi-root"
[libffi-sys 2.1.0] checking build system type... aarch64-apple-darwin22.1.0
[libffi-sys 2.1.0] Invalid configuration `aarch64-apple-ios-sim': Kernel `ios' not known to work with OS `sim'.
[libffi-sys 2.1.0] configure: error: /bin/sh ./config.sub aarch64-apple-ios-sim failed
[libffi-sys 2.1.0] thread 'main' panicked at 'Configuring libffi', libffi-sys-rs/build/common.rs:8:5