On Sat, Oct 7, 2023 at 12:57 AM Martin Rodriguez Reboredo
<yakoyoku@xxxxxxxxx> wrote:
Enables compiling Rust crates as dependencies of kernel modules.
When a composite object depends on an `.rlib` file, which by the way is
a current ar archive, Kbuild will compile it from its base Rust source
and link it.
This makes possible to have Rust bindings for a subsystem that is
compiled as a module.
Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@xxxxxxxxx>
I could not understand how this will work because
there is no explanation how to use *.rlib in the later
build steps.
If I understand correctly, does this intend to link *.rlib
as a part of modules?