{"id":283746,"date":"2026-06-29T15:30:00","date_gmt":"2026-06-29T19:30:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/06\/29\/next-bcachefs-release-aims-to-include-rust-code-in-the-kernel-module\/"},"modified":"2026-06-29T15:55:09","modified_gmt":"2026-06-29T19:55:09","slug":"next-bcachefs-release-aims-to-include-rust-code-in-the-kernel-module","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/06\/29\/next-bcachefs-release-aims-to-include-rust-code-in-the-kernel-module\/","title":{"rendered":"Next Bcachefs Release Aims To Include Rust Code In The Kernel Module"},"content":{"rendered":"<p><a href=\"https:\/\/www.phoronix.com\/news\/Bcachefs-1.38.7-Rust-Kernel\">Next Bcachefs Release Aims To Include Rust Code In The Kernel Module<\/a><\/p>\n<p><a href=\"https:\/\/www.phoronix.com\/news\/Bcachefs-1.38.7-Rust-Kernel\">https:\/\/www.phoronix.com\/news\/Bcachefs-1.38.7-Rust-Kernel<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-06-29 15:30:00<\/a><\/p>\n<p>Source Domain: <a href=\"www.phoronix.com\">www.phoronix.com<\/a><\/p>\n<p>The Bcachefs file-system already makes use of the Rust programming language in the user-space tools for this CoW file-system and they have been planning to make use of Rust within the kernel module too. Beginning in the next Bcachefs release, v1.38.7, they are looking at beginning to include Rust code now in their kernel driver.<\/p>\n<p>Bcachefs 1.38.6 debuted just days ago with some nice improvements while already its lead developer, Kent Overstreet, is eyeing big changes for Bcachefs 1.38.7. In a post today he outlined plans for Bcachefs 1.38.7 to be the first release where they begin including Rust in the in-kernel Bcachefs module. Initially it will be a soft dependency while they get their deployment processes handled and related infrastructure laid.\n<\/p>\n<p>This plan to use Rust within the Bcachefs kernel module does complicate the handling with Bcachefs being out-of-tree. Kent Overstreet noted the challenges in using the Dynamic Kernel Module System (DKMS) builds around Rust. DKMS builds of Rust modules are &#8220;not going to be practical&#8221; for most users due to the installed version of Rustc needing to match the version used to compile the kernel, given Rust&#8217;s lack of a stable ABI.<br \/>\n<\/p>\n<p align=\"center\"><img decoding=\"async\" src=\"https:\/\/www.phoronix.net\/image.php?id=bcachefs-1386&#038;image=bcachefs_1386_2_med\" alt=\"Bcachefs kernel module\"\/><\/p>\n<p>Furthermore, the same Rust stdlib sources need to be installed, the bindgen CLI version also needs to be installed, and some Rust artifacts from the kernel build must also be present. Thus Bcachefs is ultimately planning to target more normal distribution binary packages for kernel modules rather than DKMS builds moving ahead. This will be a similar challenge to any other project with out-of-tree Rust kernel modules.<\/p>\n<p>More details on the Rust code in Bcachefs kernel module plans can be found via today&#8217;s Patreon post.<\/p>\n<p><a href=\"https:\/\/www.phoronix.com\/news\/Bcachefs-1.38.7-Rust-Kernel\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Next Bcachefs Release Aims To Include Rust Code In The Kernel Module https:\/\/www.phoronix.com\/news\/Bcachefs-1.38.7-Rust-Kernel Publish Date:&#8230;<\/p>\n","protected":false},"author":1,"featured_media":283747,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.phoronix.net\/image.php?id=bcachefs-1386&image=bcachefs_1386_2","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71],"class_list":["post-283746","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/283746"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=283746"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/283746\/revisions"}],"predecessor-version":[{"id":283748,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/283746\/revisions\/283748"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/283747"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=283746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=283746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=283746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}