Skip to content

Commit a7932ac

Browse files
committed
Auto merge of #2227 - kawadakk:release-add-solid-target, r=JohnTitor
Add SOLID target support This PR adds support for SOLID targets. See rust-lang/rust#86191 for details.
2 parents 2a80700 + 26afb61 commit a7932ac

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)