File tree Expand file tree Collapse file tree 7 files changed +6
-2
lines changed Expand file tree Collapse file tree 7 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
use std:: env;
2
2
use std:: process:: Command ;
3
3
use std:: str;
4
- use std:: string:: String ;
5
4
6
5
// List of cfgs this build script is allowed to set. The list is needed to support check-cfg, as we
7
6
// need to know all the possible cfgs that this script will set. If you need to set another cfg
Original file line number Diff line number Diff line change @@ -2033,6 +2033,7 @@ RTLD_LAZY
2033
2033
RTLD_LOCAL
2034
2034
RTLD_NOLOAD
2035
2035
RTLD_NOW
2036
+ RTLD_NODELETE
2036
2037
TCA_UNSPEC
2037
2038
TCA_KIND
2038
2039
TCA_OPTIONS
Original file line number Diff line number Diff line change
1
+ PIPE_BUF
Original file line number Diff line number Diff line change @@ -1791,6 +1791,7 @@ extern "C" {
1791
1791
lock : * mut pthread_mutex_t ,
1792
1792
abstime : * const :: timespec ,
1793
1793
) -> :: c_int ;
1794
+ pub fn pthread_sigqueue ( thread : :: pthread_t , sig : :: c_int , value : :: sigval ) -> :: c_int ;
1794
1795
pub fn pthread_spin_init ( lock : * mut :: pthread_spinlock_t , pshared : :: c_int ) -> :: c_int ;
1795
1796
pub fn pthread_spin_destroy ( lock : * mut :: pthread_spinlock_t ) -> :: c_int ;
1796
1797
pub fn pthread_spin_lock ( lock : * mut :: pthread_spinlock_t ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -1761,6 +1761,7 @@ pub const ST_NODIRATIME: ::c_ulong = 2048;
1761
1761
pub const ST_RELATIME : :: c_ulong = 4096 ;
1762
1762
1763
1763
pub const RTLD_NOLOAD : :: c_int = 0x4 ;
1764
+ pub const RTLD_NODELETE : :: c_int = 0x1000 ;
1764
1765
1765
1766
pub const SEM_FAILED : * mut sem_t = 0 as * mut sem_t ;
1766
1767
Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ cfg_if! {
396
396
#[ cfg_attr( feature = "rustc-dep-of-std" ,
397
397
link( name = "c" , cfg( not( target_feature = "crt-static" ) ) ) ) ]
398
398
extern { }
399
- } else if #[ cfg( target_env = "aix" ) ] {
399
+ } else if #[ cfg( target_os = "aix" ) ] {
400
400
#[ link( name = "c" ) ]
401
401
#[ link( name = "m" ) ]
402
402
#[ link( name = "bsd" ) ]
Original file line number Diff line number Diff line change @@ -1279,6 +1279,7 @@ pub const FOPEN_MAX: ::c_uint = 20;
1279
1279
pub const FILENAME_MAX : :: c_uint = 1024 ;
1280
1280
pub const L_tmpnam : :: c_uint = 25 ;
1281
1281
pub const TMP_MAX : :: c_uint = 17576 ;
1282
+ pub const PIPE_BUF : :: c_int = 5120 ;
1282
1283
1283
1284
pub const GRND_NONBLOCK : :: c_uint = 0x0001 ;
1284
1285
pub const GRND_RANDOM : :: c_uint = 0x0002 ;
You can’t perform that action at this time.
0 commit comments