On Wed, Apr 5, 2023 at 1:08 PM Daniel Vetter <daniel@xxxxxxxx> wrote: > > Uh all the rust helper wrappers for all the kernel in a single file does > not sound good. Can we not split these up into each subsystem, and then > maybe instead of sprinkling #ifdef all over a .c file Make the compilation > of that file conditional on rust support (plus whatever other Kconfig gate > the other c files has already)? Indeed, the plan is splitting the `kernel` crate and giving each subsystem its own crate, bindings, helpers, etc. Cheers, Miguel