rust-lang / libc

Raw bindings to platform APIs for Rust
https://docs.rs/libc
Apache License 2.0
2.08k stars 1.04k forks source link

Re-enable iOS on CI #1054

Open alexcrichton opened 6 years ago

alexcrichton commented 6 years ago

This started failing with a recent xcode update from Travis and had to be disabled in https://github.com/rust-lang/libc/pull/1051 due to errors like this -- https://travis-ci.org/rust-lang/libc/jobs/410547612

Looks like the simulated program is no longer printing out anything :(

gnzlbg commented 6 years ago

We are seeing these same errors in mach and packed_simd https://github.com/fitzgen/mach/issues/39, https://github.com/rust-lang-nursery/packed_simd/issues/26

cc @kali

gnzlbg commented 6 years ago

The i386-apple-ios target is deprecated on xcode10. I propose to revert the xcode version of that target to xcode9.2, which should work without issues. For some reason, no output is emitted with xcode9.4, so we should leave this issue open until somebody fixes that.

gnzlbg commented 6 years ago

With xcode10, https://github.com/rust-lang/rust/issues/55477, x86_64-apple-ios and i386-apple-ios actually fail to link, so libc does not compile anymore for these targets apparently.