Skip to content

Commit

Permalink
Auto merge of #2227 - kawadakk:release-add-solid-target, r=JohnTitor
Browse files Browse the repository at this point in the history
Add SOLID target support

This PR adds support for SOLID targets. See rust-lang/rust#86191 for details.
  • Loading branch information
bors committed Oct 6, 2021
2 parents 2a80700 + 26afb61 commit a7932ac
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
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
@@ -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
@@ -0,0 +1,4 @@
pub type c_char = i8;
pub type wchar_t = i16;
pub type c_long = i32;
pub type c_ulong = u32;

0 comments on commit a7932ac

Please sign in to comment.