You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building for arm-sel4-helios, we get an error in the root-task, related to undefined/missing type seL4_WordBits.
cargo fel4 build --target arm-sel4-helios:
error[E0425]: cannot find value `seL4_WordBits` in this scope
--> src/bin/root-task.rs:57:13
|
57 | seL4_WordBits.into(),
| ^^^^^^^^^^^^^ did you mean `seL4_GuardBits`?
This is because libsel4 is using a functional macro in (ARM configs, ie libsel4/sel4_arch_include/aarch32/sel4/sel4_arch/constants.h):
#define seL4_WordBits (sizeof(seL4_Word) * 8)
We don't see this with the x86-64 target because it uses #define seL4_WordBits 64.
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
When building for
arm-sel4-helios
, we get an error in the root-task, related to undefined/missing typeseL4_WordBits
.cargo fel4 build --target arm-sel4-helios
:This is because libsel4 is using a functional macro in (ARM configs, ie
libsel4/sel4_arch_include/aarch32/sel4/sel4_arch/constants.h
):We don't see this with the
x86-64
target because it uses#define seL4_WordBits 64
.Seems to be related to this
bindgen
issue: rust-lang/rust-bindgen#753The text was updated successfully, but these errors were encountered: