Skip to content

Commit 91e7051

Browse files
committed
---
yaml --- r: 173484 b: refs/heads/master c: 7776820 h: refs/heads/master v: v3
1 parent 27964ed commit 91e7051

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 8341ee4075e46d4f5470c6081be4135cdffd21ed
2+
refs/heads/master: 7776820a032d60256c7dea3e95113045d026ddbd
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 210f0dcf007104240b2e286ed0b80cb4a61d7bae
55
refs/heads/try: 957472483d3a2f43c0e4f7c2056280a1022af93c

trunk/src/liblibc/lib.rs

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,8 @@ pub mod types {
497497
#[cfg(any(target_arch = "x86",
498498
target_arch = "arm",
499499
target_arch = "mips",
500-
target_arch = "mipsel"))]
500+
target_arch = "mipsel",
501+
target_arch = "powerpc"))]
501502
pub mod arch {
502503
pub mod c95 {
503504
pub type c_char = i8;
@@ -528,7 +529,8 @@ pub mod types {
528529
}
529530
#[cfg(any(target_arch = "x86",
530531
target_arch = "mips",
531-
target_arch = "mipsel"))]
532+
target_arch = "mipsel",
533+
target_arch = "powerpc"))]
532534
pub mod posix88 {
533535
pub type off_t = i32;
534536
pub type dev_t = u64;
@@ -642,7 +644,9 @@ pub mod types {
642644
pub __size: [u32; 9]
643645
}
644646
}
645-
#[cfg(any(target_arch = "mips", target_arch = "mipsel"))]
647+
#[cfg(any(target_arch = "mips",
648+
target_arch = "mipsel",
649+
target_arch = "powerpc"))]
646650
pub mod posix01 {
647651
use types::os::arch::c95::{c_long, c_ulong, time_t};
648652
use types::os::arch::posix88::{gid_t, ino_t};
@@ -2697,7 +2701,9 @@ pub mod consts {
26972701
pub const EHWPOISON: c_int = 133;
26982702
}
26992703

2700-
#[cfg(any(target_arch = "mips", target_arch = "mipsel"))]
2704+
#[cfg(any(target_arch = "mips",
2705+
target_arch = "mipsel",
2706+
target_arch = "powerpc"))]
27012707
pub mod posix88 {
27022708
use types::os::arch::c95::c_int;
27032709
use types::common::c95::c_void;
@@ -2982,7 +2988,8 @@ pub mod consts {
29822988
#[cfg(all(target_os = "linux",
29832989
any(target_arch = "mips",
29842990
target_arch = "mipsel",
2985-
target_arch = "aarch64")))]
2991+
target_arch = "aarch64",
2992+
target_arch = "powerpc")))]
29862993
pub const PTHREAD_STACK_MIN: size_t = 131072;
29872994

29882995
pub const CLOCK_REALTIME: c_int = 0;
@@ -3040,7 +3047,9 @@ pub mod consts {
30403047
pub const SHUT_WR: c_int = 1;
30413048
pub const SHUT_RDWR: c_int = 2;
30423049
}
3043-
#[cfg(any(target_arch = "mips", target_arch = "mipsel"))]
3050+
#[cfg(any(target_arch = "mips",
3051+
target_arch = "mipsel",
3052+
target_arch = "powerpc"))]
30443053
pub mod bsd44 {
30453054
use types::os::arch::c95::c_int;
30463055

@@ -3115,7 +3124,9 @@ pub mod consts {
31153124
pub const MAP_NONBLOCK : c_int = 0x010000;
31163125
pub const MAP_STACK : c_int = 0x020000;
31173126
}
3118-
#[cfg(any(target_arch = "mips", target_arch = "mipsel"))]
3127+
#[cfg(any(target_arch = "mips",
3128+
target_arch = "mipsel",
3129+
target_arch = "powerpc"))]
31193130
pub mod extra {
31203131
use types::os::arch::c95::c_int;
31213132

0 commit comments

Comments
 (0)