Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rust: kbuild: remove "`try` keyword" workaround for `bindgen` < 0.59.2

There is a workaround that has not been needed, even already after commit
08ab786556ff ("rust: bindgen: upgrade to 0.65.1"), but it does not hurt.

Thus remove it.

Reviewed-by: Tamir Duberstein <tamird@kernel.org>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260405235309.418950-3-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

-4
-4
rust/bindgen_parameters
··· 15 15 --opaque-type x86_msi_data 16 16 --opaque-type x86_msi_addr_lo 17 17 18 - # `try` is a reserved keyword since Rust 2018; solved in `bindgen` v0.59.2, 19 - # commit 2aed6b021680 ("context: Escape the try keyword properly"). 20 - --opaque-type kunit_try_catch 21 - 22 18 # If SMP is disabled, `arch_spinlock_t` is defined as a ZST which triggers a Rust 23 19 # warning. We don't need to peek into it anyway. 24 20 --opaque-type spinlock