Skip to content

Commit

Permalink
Add SOLID target support
Browse files Browse the repository at this point in the history
  • Loading branch information
kawadakk committed Jul 2, 2021
1 parent ce5cee1 commit d4c7997
Show file tree
Hide file tree
Showing 4 changed files with 918 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ cfg_if! {

mod vxworks;
pub use vxworks::*;
} else if #[cfg(target_os = "solid-asp3")] {
mod fixed_width_ints;
pub use fixed_width_ints::*;

mod solid;
pub use solid::*;
} else if #[cfg(unix)] {
mod fixed_width_ints;
pub use fixed_width_ints::*;
Expand Down
4 changes: 4 additions & 0 deletions src/solid/aarch64.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pub type c_char = i8;
pub type wchar_t = i16;
pub type c_long = i64;
pub type c_ulong = u64;
4 changes: 4 additions & 0 deletions src/solid/arm.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pub type c_char = i8;
pub type wchar_t = i16;
pub type c_long = i32;
pub type c_ulong = u32;
Loading

0 comments on commit d4c7997

Please sign in to comment.