# Systemd Wants Rust in, But its Core Will Have to Wait

DevFeed: [Systemd Wants Rust in, But its Core Will Have to Wait](<https://devfeed.tech/articles/systemd-wants-rust-in-but-its-core-will-have-to-wait-118783.md>)

Original publisher: [Read original article](<https://feed.itsfoss.com/link/24361/17515808/systemd-rust-support>)

Author: Sourav Rudra

Published: 2026-11-05T10:12:32Z

Content type: news

Language: en

Sources: [It's FOSS](<https://devfeed.tech/sources/it-s-foss.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [abi](<https://devfeed.tech/tags/abi.md>), [box](<https://devfeed.tech/tags/box.md>), [c](<https://devfeed.tech/tags/c.md>), [certificates](<https://devfeed.tech/tags/certificates.md>), [core](<https://devfeed.tech/tags/core.md>), [coreutils](<https://devfeed.tech/tags/coreutils.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [init](<https://devfeed.tech/tags/init.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [libc](<https://devfeed.tech/tags/libc.md>), [library](<https://devfeed.tech/tags/library.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-kernel](<https://devfeed.tech/tags/linux-kernel.md>), [memory-safe](<https://devfeed.tech/tags/memory-safe.md>), [news](<https://devfeed.tech/tags/news.md>), [rust](<https://devfeed.tech/tags/rust.md>), [systemd](<https://devfeed.tech/tags/systemd.md>)

## AI overview

systemd has merged optional support for new standalone Rust programs, with `systemd-keyring-setup` the first example; existing C code is not being ported. Rust programs must build through Meson without Cargo, may use only the `core` and `libc` crates, and must match their C counterparts' behavior. They require rustc 1.85, bindgen 0.71.1, and Meson 1.4.0 or newer, so distributions enabling every feature need the Rust toolchain or must disable Rust support. `libsystemd-shared` remains in C because Rust lacks a stable ABI and putting Rust there could duplicate code. Sensitive filesystem access is another obstacle: systemd relies on file-descriptor-based path lookup, which the excerpt says Rust's standard path handling does not provide.

## Source excerpt

The rustification is ongoing, with Rust-written programs now allowed and existing C code not being ported.