Skip to content

Commit

Permalink
Add seL4_WordBits type for arm target
Browse files Browse the repository at this point in the history
This enables our default root-task to build with the `arm-sel4-helios` target.

Since bindgen doesn't seem to expand function like macros, this gets us by for now.

Relates to #18
  • Loading branch information
jlamb-at-polysync committed May 2, 2018
1 parent 5d01511 commit a0da999
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libsel4-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,7 @@ pub unsafe extern "C" fn strcpy(
dest
}

#[cfg(target = "arm-sel4-helios")]
pub const seL4_WordBits: u32 = 32;

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

0 comments on commit a0da999

Please sign in to comment.