Skip to content

Commit 054147a

Browse files
committed
Merge pull request rust-lang#193 from alexcrichton/fix-ios
Fix iOS builds
2 parents 1b1eea2 + 28a493a commit 054147a

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ matrix:
4545
rust: nightly
4646
- os: osx
4747
env: TARGET=i386-apple-ios
48-
rust: nightly
48+
rust: nightly-2016-02-12
4949
- os: osx
5050
env: TARGET=x86_64-apple-ios
51-
rust: nightly
51+
rust: nightly-2016-02-12
5252
- os: linux
5353
env: TARGET=x86_64-rumprun-netbsd DOCKER=alexcrichton/rust-libc-rumprun:2015-11-27
5454
rust: nightly-2015-09-27

ci/run-travis.sh

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ fi
2020
MAIN_TARGETS=https://static.rust-lang.org/dist
2121
DATE=$(echo $TRAVIS_RUST_VERSION | sed s/nightly-//)
2222
EXTRA_TARGETS=https://people.mozilla.org/~acrichton/libc-test/$DATE
23+
if [ "$DATE" != "nightly" ]; then
24+
MAIN_TARGETS=$MAIN_TARGETS/$DATE
25+
TRAVIS_RUST_VERSION=nightly
26+
fi
2327

2428
install() {
2529
if [ "$TRAVIS" = "true" ]; then

src/unix/notbsd/android/b32.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
pub type mode_t = u16;
2+
13
s! {
24
pub struct sigaction {
35
pub sa_sigaction: ::sighandler_t,

src/unix/notbsd/android/b64.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
pub type mode_t = u32;
2+
13
s! {
24
pub struct sigaction {
35
pub sa_flags: ::c_uint,

src/unix/notbsd/android/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ pub type ino_t = u32;
1313
pub type blkcnt_t = u32;
1414
pub type blksize_t = u32;
1515
pub type dev_t = u32;
16-
pub type mode_t = u16;
1716
pub type nlink_t = u32;
1817
pub type useconds_t = u32;
1918
pub type socklen_t = i32;

0 commit comments

Comments
 (0)