Menu

systemd gains support for Rust language but imposes strict rules
📰

systemd gains support for Rust language but imposes strict rules

DEV Community: rust·Hacks.gr·8 days ago
#ESANdKju
#devtorust#devto#dev#systemd#libraries
Reading 0:00
15s threshold

Systemd officially adds Rust support while keeping core libraries in C and continuing to use Meson exclusively without Cargo, applying a no_std approach for architecture compatibility.

No to replacing existing code

The system's core libraries will remain written in the C language. There is no intention to rewrite the code that already works stably, as changing the language is not in itself a solution for system security.

Strict control of tools and libraries

The systemd team has decided not to use Cargo, the tool that usually comes with Rust to manage additional programs. Instead, the project will continue to rely solely on Meson, the system it has been using until now. With this decision, the creators want to keep the process simple and limit the risks that can arise from importing external libraries.

At this stage, the maintainers are expressing reservations about accepting external Rust libraries.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.