File tree Expand file tree Collapse file tree 10 files changed +2352
-0
lines changed Expand file tree Collapse file tree 10 files changed +2352
-0
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,13 @@ x86_64-unknown-haiku \
224
224
x86_64-unknown-hermit \
225
225
x86_64-unknown-l4re-uclibc \
226
226
x86_64-unknown-openbsd \
227
+ armv7-wrs-vxworks \
228
+ aarch64-wrs-vxworks \
229
+ i686-wrs-vxworks \
230
+ x86_64-wrs-vxworks \
231
+ powerpc-wrs-vxworks \
232
+ powerpc-wrs-vxworks-spe \
233
+ powerpc64-wrs-vxworks \
227
234
"
228
235
229
236
if [ " ${RUST} " = " nightly" ] && [ " ${OS} " = " linux" ]; then
Original file line number Diff line number Diff line change @@ -114,6 +114,12 @@ cfg_if! {
114
114
115
115
mod switch;
116
116
pub use switch:: * ;
117
+ } else if #[ cfg( target_os = "vxworks" ) ] {
118
+ mod fixed_width_ints;
119
+ pub use fixed_width_ints:: * ;
120
+
121
+ mod vxworks;
122
+ pub use vxworks:: * ;
117
123
} else if #[ cfg( unix) ] {
118
124
mod fixed_width_ints;
119
125
pub use fixed_width_ints:: * ;
Original file line number Diff line number Diff line change
1
+ pub type c_char = u8 ;
2
+ pub type c_long = i64 ;
3
+ pub type c_ulong = u64 ;
Original file line number Diff line number Diff line change
1
+ pub type c_char = u8 ;
2
+ pub type c_long = i32 ;
3
+ pub type c_ulong = u32 ;
Original file line number Diff line number Diff line change
1
+ pub type c_long = i32 ;
2
+ pub type c_ulong = u32 ;
You can’t perform that action at this time.
0 commit comments