Skip to content
Snippets Groups Projects
Commit 9b09188d authored by bors's avatar bors
Browse files

Auto merge of #1408 - BaoshanPang:vxworks, r=gnzlbg

Support Vxworks

Define the C interface to VxWorks
parents 231ac683 d18003a2
No related merge requests found
......@@ -224,6 +224,13 @@ x86_64-unknown-haiku \
x86_64-unknown-hermit \
x86_64-unknown-l4re-uclibc \
x86_64-unknown-openbsd \
armv7-wrs-vxworks \
aarch64-wrs-vxworks \
i686-wrs-vxworks \
x86_64-wrs-vxworks \
powerpc-wrs-vxworks \
powerpc-wrs-vxworks-spe \
powerpc64-wrs-vxworks \
"
if [ "${RUST}" = "nightly" ] && [ "${OS}" = "linux" ]; then
......
......@@ -114,6 +114,12 @@ cfg_if! {
mod switch;
pub use switch::*;
} else if #[cfg(target_os = "vxworks")] {
mod fixed_width_ints;
pub use fixed_width_ints::*;
mod vxworks;
pub use vxworks::*;
} else if #[cfg(unix)] {
mod fixed_width_ints;
pub use fixed_width_ints::*;
......
pub type c_char = u8;
pub type c_long = i64;
pub type c_ulong = u64;
pub type c_char = u8;
pub type c_long = i32;
pub type c_ulong = u32;
pub type c_long = i32;
pub type c_ulong = u32;
This diff is collapsed.
pub type c_char = u8;
pub type c_long = i32;
pub type c_ulong = u32;
pub type c_char = u8;
pub type c_long = i64;
pub type c_ulong = u64;
pub type c_char = i8;
pub type c_long = i32;
pub type c_ulong = u32;
pub type c_long = i64;
pub type c_ulong = u64;
pub type c_char = i8;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment