Skip to content

Commit 5c101cc

Browse files
committed
use fixed_width_ints for vxWorks
1 parent 46f5119 commit 5c101cc

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

src/lib.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,11 @@ cfg_if! {
115115
mod switch;
116116
pub use switch::*;
117117
} else if #[cfg(target_os = "vxworks")] {
118-
mod vxworks;
119-
pub use vxworks::*;
118+
mod fixed_width_ints;
119+
pub use fixed_width_ints::*;
120+
121+
mod vxworks;
122+
pub use vxworks::*;
120123
} else if #[cfg(unix)] {
121124
mod fixed_width_ints;
122125
pub use fixed_width_ints::*;

src/vxworks/mod.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ impl ::Clone for DIR {
1111
}
1212
}
1313

14-
pub type int8_t = i8;
15-
pub type int16_t = i16;
16-
pub type int32_t = i32;
17-
pub type int64_t = i64;
18-
pub type uint8_t = u8;
19-
pub type uint16_t = u16;
20-
pub type uint32_t = u32;
21-
pub type uint64_t = u64;
22-
2314
pub type c_schar = i8;
2415
pub type c_uchar = u8;
2516
pub type c_short = i16;

0 commit comments

Comments
 (0)