Article 6QVPZ [$] Best practices for error handling in kernel Rust

[$] Best practices for error handling in kernel Rust

by
daroc
from LWN.net on (#6QVPZ)

Dirk Behme led a session discussing the use of Rust's question-mark operator inthe kernel at Kangrejos 2024. He was particularly concerned with the concept of"silent" errors that don't print any messages to the console.Other attendees were less convinced that this was a problem, but his presentationsparked a lot of discussion about whether the Rust-for-Linux project couldimprove error handling in kernel Rust code.

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments