Skip to content

Commit 0973a29

Browse files
committed
---
yaml --- r: 52183 b: refs/heads/dist-snap c: 8436a44 h: refs/heads/master i: 52181: 477e33a 52179: 502d8d1 52175: 3f5d585 v: v3
1 parent f2d4862 commit 0973a29

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
99
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10-
refs/heads/dist-snap: aebbd6bb4690e5854e4f7f54f2d9672a67c845c8
10+
refs/heads/dist-snap: 8436a4460e49a1b732d219d5cd601a3013a9a875
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/libcore/libc.rs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,12 @@ pub mod types {
394394
pub type ssize_t = i64;
395395
}
396396
pub mod posix01 {
397+
use libc::types::os::arch::c95::{c_long, time_t};
398+
use libc::types::os::arch::c99::{uint8_t, uint32_t, int32_t};
399+
use libc::types::os::arch::posix88::{dev_t, gid_t, ino_t};
400+
use libc::types::os::arch::posix88::{mode_t, off_t};
401+
use libc::types::os::arch::posix88::{uid_t};
402+
397403
pub type nlink_t = u16;
398404
pub type blksize_t = i64;
399405
pub type blkcnt_t = i64;
@@ -436,6 +442,12 @@ pub mod types {
436442
pub mod os {
437443
pub mod common {
438444
pub mod posix01 {
445+
use libc::types::os::arch::c95::{c_int, c_short};
446+
use libc::types::os::arch::c99::int64_t;
447+
use libc::types::os::arch::extra::time64_t;
448+
use libc::types::os::arch::posix88::{dev_t, gid_t, ino_t};
449+
use libc::types::os::arch::posix88::mode_t;
450+
439451
// Note: this is the struct called stat64 in win32. Not stat,
440452
// nor stati64.
441453
pub struct stat {
@@ -576,6 +588,11 @@ pub mod types {
576588
pub type ssize_t = i32;
577589
}
578590
pub mod posix01 {
591+
use libc::types::os::arch::c95::{c_long, time_t};
592+
use libc::types::os::arch::c99::{uint32_t, int32_t, int64_t};
593+
use libc::types::os::arch::posix88::{dev_t, gid_t, ino_t,
594+
mode_t, uid_t};
595+
579596
pub type nlink_t = u16;
580597
pub type blksize_t = i64;
581598
pub type blkcnt_t = i32;

branches/dist-snap/src/libcore/to_bytes.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ impl char: IterBytes {
172172

173173
#[cfg(target_word_size = "32")]
174174
pub mod x32 {
175+
use to_bytes::{Cb, IterBytes};
176+
175177
pub impl uint: IterBytes {
176178
#[inline(always)]
177179
pure fn iter_bytes(&self, lsb0: bool, f: Cb) {

0 commit comments

Comments
 (0)