20–24 Sept 2021
US/Pacific timezone

Testing in-kernel Rust code

22 Sept 2021, 10:05
30m
Microconference2/Virtual-Room (LPC Virtual)

Microconference2/Virtual-Room

LPC Virtual

150
Testing and Fuzzing MC Testing and Fuzzing MC

Speaker

Miguel Ojeda

Description

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