linux-yocto/rust/kernel/sync
Gary Guo 641ecd0d0a rust: use custom FFI integer types
commit d072acda4862f095ec9056979b654cc06a22cc68 upstream.

Currently FFI integer types are defined in libcore. This commit creates
the `ffi` crate and asks bindgen to use that crate for FFI integer types
instead of `core::ffi`.

This commit is preparatory and no type changes are made in this commit
yet.

Signed-off-by: Gary Guo <gary@garyguo.net>
Link: https://lore.kernel.org/r/20240913213041.395655-4-gary@garyguo.net
[ Added `rustdoc`, `rusttest` and KUnit tests support. Rebased on top of
  `rust-next` (e.g. migrated more `core::ffi` cases). Reworded crate
  docs slightly and formatted. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-03-13 13:01:49 +01:00
..
arc rust: provide proper code documentation titles 2025-03-13 13:01:42 +01:00
lock rust: use custom FFI integer types 2025-03-13 13:01:49 +01:00
arc.rs rust: use custom FFI integer types 2025-03-13 13:01:49 +01:00
condvar.rs rust: use custom FFI integer types 2025-03-13 13:01:49 +01:00
lock.rs rust: use custom FFI integer types 2025-03-13 13:01:49 +01:00
locked_by.rs rust: treewide: switch to the kernel Vec type 2025-03-13 13:01:46 +01:00