Sep 20 – 24, 2021
US/Pacific timezone

Testing in-kernel Rust code

Sep 22, 2021, 10:05 AM
Microconference2/Virtual-Room (LPC Virtual)


LPC Virtual

Testing and Fuzzing MC Testing and Fuzzing MC


Miguel Ojeda


The Rust for Linux project is adding support for the Rust language to the Linux kernel. A key part of such an effort is how to approach testing for code written in the new language.

It covers:

  • A quick overview of testing in Rust: how testing usually looks like in Rust (unit tests, integration tests & documentation tests), what is provided by the language, standard library and tooling, etc.
  • The current in-kernel testing support.
  • Testing in the host vs. in the kernel vs. from userspace.
  • What we are planning for the future and related work.
I agree to abide by the anti-harassment policy I agree

Primary author

Miguel Ojeda

Presentation materials

Diamond Sponsor

Platinum Sponsor

Gold Sponsors

Silver Sponsors

Speaker Gift Sponsor

T-Shirt Sponsor

Conference Services provided by