<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/linux-7-2-introducing-the-rust-zerocopy-library-to-eliminate-more-unsafe-code-bvxpljctn" -->

---
title: Linux 7.2 Introducing The Rust Zerocopy Library To...
description: Linux 7.2 is integrating the Rust &#x27;zerocopy&#x27; library into the kernel, enabling removal of unsafe Rust code by providing derivable traits like FromBytes and...
canonical: https://daily.dev/posts/linux-7-2-introducing-the-rust-zerocopy-library-to-eliminate-more-unsafe-code-bvxpljctn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Linux 7.2 Introducing The Rust Zerocopy Library To Eliminate More &quot;Unsafe&quot; Code | daily.dev
og:description: Linux 7.2 is integrating the Rust &#x27;zerocopy&#x27; library into the kernel, enabling removal of unsafe Rust code by providing derivable traits like FromBytes and...
og:url: https://daily.dev/posts/linux-7-2-introducing-the-rust-zerocopy-library-to-eliminate-more-unsafe-code-bvxpljctn
og:image: https://api.daily.dev/og/posts/BvxpLJCtN.png
og:image:alt: Linux 7.2 Introducing The Rust Zerocopy Library To Eliminate More &quot;Unsafe&quot; Code
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Linux 7.2 Introducing The Rust Zerocopy Library To Eliminate More "Unsafe" Code

**[Phoronix](https://daily.dev/sources/phoronix)** · 2 min read · 0 upvotes · 0 comments

## Summary

Linux 7.2 is integrating the Rust 'zerocopy' library into the kernel, enabling removal of unsafe Rust code by providing derivable traits like FromBytes and macros like transmute! for safe zero-cost memory manipulation. The library adds roughly 39k lines and is one of the most downloaded Rust crates, also used by the Rust compiler itself. Additionally, Linux 7.2 Rust changes include AutoFDO (Automatic Feedback Directed Optimizations) support — showing ~13% performance improvement in Rust Binder — software tag-based KASAN support, and compatibility with the upcoming Rust 1.98 release.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.phoronix.com/news/Linux-7.2-Rust>

## Similar posts on daily.dev

- [Linux 7.0 Lands Improvements To Deal With Upcoming Rust Changes, Build Reproducibility](https://daily.dev/posts/linux-7-0-lands-improvements-to-deal-with-upcoming-rust-changes-build-reproducibility-psxa1ku6g) · Phoronix · 0 upvotes · 0 comments
- [Kernel 7.2: RK3588 media, smarter GPU memory, and Rust foundations](https://daily.dev/posts/kernel-7-2-rk3588-media-smarter-gpu-memory-and-rust-foundations-vrpih8voj) · Collabora Blog · 0 upvotes · 0 comments
- [Rust For Linux 7.1 Bringing Experimental Option That Can Help Performance](https://daily.dev/posts/rust-for-linux-7-1-bringing-experimental-option-that-can-help-performance-f3yxxihfp) · Phoronix · 0 upvotes · 0 comments
- [Rust Coreutils 0.9 Released With Additional Security Hardening, Zero-Copy I/O](https://daily.dev/posts/rust-coreutils-0-9-released-with-additional-security-hardening-zero-copy-i-o-iv8ubsqyq) · Phoronix · 4 upvotes · 0 comments
- [Linux 7.0 Readying Improvement For Rust \+ LTO Kernel Builds](https://daily.dev/posts/linux-7-0-readying-improvement-for-rust-lto-kernel-builds-eefdkxuyc) · Phoronix · 2 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/linux-7-2-introducing-the-rust-zerocopy-library-to-eliminate-more-unsafe-code-bvxpljctn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Linux 7.2 Introducing The Rust Zerocopy Library To Eliminate More \"Unsafe\" Code","url":"https://daily.dev/posts/linux-7-2-introducing-the-rust-zerocopy-library-to-eliminate-more-unsafe-code-bvxpljctn","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/linux-7-2-introducing-the-rust-zerocopy-library-to-eliminate-more-unsafe-code-bvxpljctn"},"datePublished":"2026-06-15T11:09:15.098Z","dateModified":"2026-06-16T13:11:51.287Z","description":"Linux 7.2 is integrating the Rust 'zerocopy' library into the kernel, enabling removal of unsafe Rust code by providing derivable traits like FromBytes and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fbdd106e7d2d87c30c5f58d0851a6ecc?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fbdd106e7d2d87c30c5f58d0851a6ecc?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Phoronix","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Phoronix","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6a26ba379dd64932830aa0c9803dd7ee","url":"https://daily.dev/sources/phoronix"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/linux-7-2-introducing-the-rust-zerocopy-library-to-eliminate-more-unsafe-code-bvxpljctn","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,rust","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Phoronix","item":"https://daily.dev/sources/phoronix"},{"@type":"ListItem","position":3,"name":"Linux 7.2 Introducing The Rust Zerocopy Library To Eliminate More \"Unsafe\" Code"}]}
```

