-
- Downloads
samples: add first Rust examples
The beginning of a set of Rust modules that showcase how Rust modules look like and how to use the abstracted kernel features. It also includes an example of a Rust host program with several modules. These samples also double as tests in the CI. Reviewed-by:Kees Cook <keescook@chromium.org> Reviewed-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Co-developed-by:
Alex Gaynor <alex.gaynor@gmail.com> Signed-off-by:
Alex Gaynor <alex.gaynor@gmail.com> Co-developed-by:
Finn Behrens <me@kloenk.de> Signed-off-by:
Finn Behrens <me@kloenk.de> Co-developed-by:
Wedson Almeida Filho <wedsonaf@google.com> Signed-off-by:
Wedson Almeida Filho <wedsonaf@google.com> Co-developed-by:
Milan Landaverde <milan@mdaverde.com> Signed-off-by:
Milan Landaverde <milan@mdaverde.com> Signed-off-by:
Miguel Ojeda <ojeda@kernel.org>
Showing
- samples/Kconfig 2 additions, 0 deletionssamples/Kconfig
- samples/Makefile 1 addition, 0 deletionssamples/Makefile
- samples/rust/Kconfig 30 additions, 0 deletionssamples/rust/Kconfig
- samples/rust/Makefile 5 additions, 0 deletionssamples/rust/Makefile
- samples/rust/hostprogs/.gitignore 3 additions, 0 deletionssamples/rust/hostprogs/.gitignore
- samples/rust/hostprogs/Makefile 5 additions, 0 deletionssamples/rust/hostprogs/Makefile
- samples/rust/hostprogs/a.rs 7 additions, 0 deletionssamples/rust/hostprogs/a.rs
- samples/rust/hostprogs/b.rs 5 additions, 0 deletionssamples/rust/hostprogs/b.rs
- samples/rust/hostprogs/single.rs 12 additions, 0 deletionssamples/rust/hostprogs/single.rs
- samples/rust/rust_minimal.rs 38 additions, 0 deletionssamples/rust/rust_minimal.rs
samples/rust/Kconfig
0 → 100644
samples/rust/Makefile
0 → 100644
samples/rust/hostprogs/.gitignore
0 → 100644
samples/rust/hostprogs/Makefile
0 → 100644
samples/rust/hostprogs/a.rs
0 → 100644
samples/rust/hostprogs/b.rs
0 → 100644
samples/rust/hostprogs/single.rs
0 → 100644
samples/rust/rust_minimal.rs
0 → 100644
Please register or sign in to comment