Re: [PATCH RFC 01/20] rust_binder: define a Rust binder driver

From: Boqun Feng
Date: Wed Nov 01 2023 - 14:26:58 EST


On Wed, Nov 01, 2023 at 06:01:31PM +0000, Alice Ryhl wrote:
[...]
> --- a/rust/bindings/bindings_helper.h
> +++ b/rust/bindings/bindings_helper.h
> @@ -21,6 +21,7 @@
> #include <linux/sched.h>
> #include <linux/task_work.h>
> #include <linux/workqueue.h>
> +#include <uapi/linux/android/binder.h>

I wonder whether we could (and should) move this into
rust/uapi/uapi_helpers.h

Regards,
Boqun

>
> /* `bindgen` gets confused at certain things. */
> const size_t BINDINGS_ARCH_SLAB_MINALIGN = ARCH_SLAB_MINALIGN;
>
> --
> 2.42.0.820.g83a721a137-goog
>