Overview
Explore the integration of Rust into the Linux kernel through this mentorship session focused on code documentation and testing practices. Delve into the Rust for Linux project, which aims to introduce a new system programming language with guaranteed protection against undefined behavior. Learn about the importance of accurately describing safety contracts and invariants for both safe and unsafe code. Discover how to write effective documentation, including coding guidelines and safety justifications for unsafe blocks. Gain insights into Rust's unique approach to documentation examples that double as tests. Examine techniques for writing documentation tests and general testing methodologies. Join Miguel Ojeda, Rust for Linux Maintainer, for this informative session that requires no prior Rust knowledge.
Syllabus
Mentorship Session: Rust for Linux: Code Documentation & Tests
Taught by
Linux Foundation