Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

systemd Merges Support For Rust Programs

Дата публикации: 24-10-2026 11:11:00

As of today in systemd Git it's now possible for the systemd programs to be written in the Rust programming language as an alternative to C...

Основное содержимое страницы с новостью.

SYSTEMD

As of today in systemd Git it's now possible for the systemd programs to be written in the Rust programming language as an alternative to C.

Core systemd code like the systemd library doesn't yet support Rust code, but for the various systemd programs / leaf components is now support for using Rust. That's Rust without Cargo. For Rust in core systemd code, there are some Rust blockers that would first need to be resolved.

systemd Rust support merged

This Rust support for systemd began with a new component, systemd-keyring-setup, being written in the Rust programming language. The new systemd-keyring-setup utility in Rust is used for provisioning keyrings and enrolling X.509 certificates into the kernel's dm-verity / fs-verity / BPF keyrings during the boot process while dealing them afterward.

This systemd-keyring-setup code hasn't been merged yet but expected soon now that the Rust infrastructure has landed. Originally it was all part of a single big commit before being split-up for the Rust enablement, systemd-keyring-setup, and other preparations for this new component.

Systemd developers aren't planning on porting existing C code to Rust, all the Rust code is built with Meson and no Cargo usage, and C linkage only is mandated.

Systemd Rust components come out slightly larger than C with a test program being 32KB compared to 20KB for its C twin. For now at least the systemd Rust support is optional and toggled by the -Drust= Meson option with it being auto by default.

More details on this support for Rust programs in systemd can be found via this pull request merged for what will eventually become systemd 263.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1В systemd добавлена возможность разработки компонентов на языке Rust06.0524-10-2026
2Redox OS Gets GTK3 Backend For Orbital Desktop, Fractional Scaling & USB Gamepads5708-07-2026
3Rust For Linux 7.3 Begins Seeing Fixes To Prepare For Rust's GCC Backend08.6518-08-2026
4Wild Linker 0.10 Released With GDB Index Support, Mitigation For Btrfs Performance012.204-08-2026
5Rustls 0.23.46 Released With Four Security Fixes08.414-10-2026
6Pyre: New JIT Python interpreter written in Rust01006-04-2026
7Google's "Painful To Maintain" Binder C Linux Driver Being Removed In Favor Of Rust06.3118-09-2026
8Выбор init-системы для десктопного LFS: systemd, OpenRC, runit 010.4111-08-2026
9[Show] swift-topomap: Silicon-aware TUI and eBPF metrics engine011.8727-07-2026
10Rychlý linker Wild 0.11 umí jaderné moduly a WASM09.0826-10-2026

Классификация: Мнения. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 5.17. Источник: www.phoronix.com.