Skip to content

Commit a0da999

Browse files
Add seL4_WordBits type for arm target
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
1 parent 5d01511 commit a0da999

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libsel4-sys/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,7 @@ pub unsafe extern "C" fn strcpy(
7272
dest
7373
}
7474

75+
#[cfg(target = "arm-sel4-helios")]
76+
pub const seL4_WordBits: u32 = 32;
77+
7578
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

0 commit comments

Comments
 (0)