Commit 8d5251a2 authored by Astro's avatar Astro

sys: treat epic_stat as opaque

on rust nightly, bindgen adds another brokeness to this struct that
even prevents compiling.
parent 364c4fd5
Pipeline #4024 failed with stage
in 9 minutes and 16 seconds
......@@ -54,6 +54,7 @@ fn main() -> Result<(), Box<dyn Error>> {
.clang_arg("-Ifirmware/lib/sdk/Libraries/MAX32665PeriphDriver/Include")
.header("vendor/wrapper.h")
.ctypes_prefix("ctypes")
.opaque_type("epic_stat")
.generate()
.map_err(|_| "Couldn't generate bindings")?;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment