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
rust/arm 32-bit: remove guard for rust-bindgen bug
On 32-bit arm, `size_t` and 'uintptr_t` are incompatible,
which will trigger the static assertion.
The bug which this guard protects against
(rust-lang/rust-bindgen#1671)
was fixed upstream as of rust-bindgen v0.53:
rust-lang/rust-bindgen#1688
d650823839f7 ("Remove size_t to usize conversion")
The current recommended rust-bindgen version for building
the Linux kernel is v0.56, so the guard can be safely
dropped.
Out of an abundance of caution, remove the guard only
if building for 32-bit arm.
Signed-off-by: Sven Van Asbroeck <[email protected]>
0 commit comments