Skip to content

Commit 9e27ce6

Browse files
committed
Add SOLID target support
1 parent 2e8a5e6 commit 9e27ce6

File tree

4 files changed

+918
-0
lines changed

4 files changed

+918
-0
lines changed

src/lib.rs

+6
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@ cfg_if! {
123123

124124
mod vxworks;
125125
pub use vxworks::*;
126+
} else if #[cfg(target_os = "solid-asp3")] {
127+
mod fixed_width_ints;
128+
pub use fixed_width_ints::*;
129+
130+
mod solid;
131+
pub use solid::*;
126132
} else if #[cfg(unix)] {
127133
mod fixed_width_ints;
128134
pub use fixed_width_ints::*;

src/solid/aarch64.rs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pub type c_char = i8;
2+
pub type wchar_t = i16;
3+
pub type c_long = i64;
4+
pub type c_ulong = u64;

src/solid/arm.rs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pub type c_char = i8;
2+
pub type wchar_t = i16;
3+
pub type c_long = i32;
4+
pub type c_ulong = u32;

0 commit comments

Comments
 (0)