diff --git a/.cirrus.yml b/.cirrus.yml index ff978ef1491044275d7dcbc2c89b3d789fd51dc4..e3f777b52907f3f44bfa35cc3b5697b4c0669955 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -22,7 +22,7 @@ task: - curl https://sh.rustup.rs -sSf --output rustup.sh - sh rustup.sh --default-toolchain nightly -y - . $HOME/.cargo/env - - rustup default nightly-2019-08-22 + - rustup default nightly test_script: - . $HOME/.cargo/env - LIBC_CI=1 sh ci/run.sh x86_64-unknown-freebsd diff --git a/src/cloudabi/mod.rs b/src/cloudabi/mod.rs index 551ef0b5297eb610e32d93d3731d0c8d1e7e9963..b3065d7237383978f8a722e66db9b09bf9b2b689 100644 --- a/src/cloudabi/mod.rs +++ b/src/cloudabi/mod.rs @@ -140,6 +140,7 @@ extern "C" { pub fn isspace(c: c_int) -> c_int; pub fn isupper(c: c_int) -> c_int; pub fn isxdigit(c: c_int) -> c_int; + pub fn isblank(c: c_int) -> c_int; pub fn tolower(c: c_int) -> c_int; pub fn toupper(c: c_int) -> c_int; pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE; diff --git a/src/fuchsia/mod.rs b/src/fuchsia/mod.rs index 86505281d0594db8978e0bcdc992d0cfa9cae706..5d302aaf8840dbb6c8ef6ac81394482cabe8c923 100644 --- a/src/fuchsia/mod.rs +++ b/src/fuchsia/mod.rs @@ -3293,6 +3293,7 @@ extern "C" { pub fn isspace(c: c_int) -> c_int; pub fn isupper(c: c_int) -> c_int; pub fn isxdigit(c: c_int) -> c_int; + pub fn isblank(c: c_int) -> c_int; pub fn tolower(c: c_int) -> c_int; pub fn toupper(c: c_int) -> c_int; pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE; diff --git a/src/unix/linux_like/linux/mod.rs b/src/unix/linux_like/linux/mod.rs index 2219918aa023a5bc47d45abaff0fa1f8c71d2590..87730a56aaecc4e996c86e1633ff99c1dd485e12 100644 --- a/src/unix/linux_like/linux/mod.rs +++ b/src/unix/linux_like/linux/mod.rs @@ -1197,6 +1197,8 @@ pub const SCHED_RR: ::c_int = 2; pub const SCHED_BATCH: ::c_int = 3; pub const SCHED_IDLE: ::c_int = 5; +pub const SCHED_RESET_ON_FORK: ::c_int = 0x40000000; + // netinet/in.h // NOTE: These are in addition to the constants defined in src/unix/mod.rs diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 5fc0f9bf36f5f20d419bc3c8e33f1f0e984150c1..8d78cea7269d372304b1189ea2af8e52915ecf6e 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -385,6 +385,7 @@ extern "C" { pub fn isspace(c: c_int) -> c_int; pub fn isupper(c: c_int) -> c_int; pub fn isxdigit(c: c_int) -> c_int; + pub fn isblank(c: c_int) -> c_int; pub fn tolower(c: c_int) -> c_int; pub fn toupper(c: c_int) -> c_int; #[cfg_attr( diff --git a/src/vxworks/mod.rs b/src/vxworks/mod.rs index b0058444d46798fa7593be1497b41fc84052873a..0cc107b14a165439f01e7120f72b6a62f19834fd 100755 --- a/src/vxworks/mod.rs +++ b/src/vxworks/mod.rs @@ -1035,6 +1035,7 @@ extern "C" { pub fn isspace(c: c_int) -> c_int; pub fn isupper(c: c_int) -> c_int; pub fn isxdigit(c: c_int) -> c_int; + pub fn isblank(c: c_int) -> c_int; pub fn tolower(c: c_int) -> c_int; pub fn toupper(c: c_int) -> c_int; pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE; diff --git a/src/windows/mod.rs b/src/windows/mod.rs index 819b82c404c469d38a3e5c20d2a11ffa2aa2ede1..ba80e0ca0f6c8caec667f9e330fc92d4ff296788 100644 --- a/src/windows/mod.rs +++ b/src/windows/mod.rs @@ -228,6 +228,7 @@ extern "C" { pub fn isspace(c: c_int) -> c_int; pub fn isupper(c: c_int) -> c_int; pub fn isxdigit(c: c_int) -> c_int; + pub fn isblank(c: c_int) -> c_int; pub fn tolower(c: c_int) -> c_int; pub fn toupper(c: c_int) -> c_int; pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE;