GNU Coreutils soon to be replaced? Rust Coreutils 0.1 increase compatibility

The Rust coreutils should be fully compatible with the GNU original. The update brings the developers closer to their goal and also improves performance.

listen Print view
Gray Rust logo against a green background

(Image: iX)

2 min. read

The Rust Coreutils have been released in version 0.1. This is an open-source reimplementation of the GNU Core Utilities, which are mainly written in C. They contain over 100 classic Unix command line programs, including ls, cp and rm, and are intended to be fully compatible with GNU applications in the future. With the update, almost 85 percent of the Rust core utilities pass the compatibility test. There are also performance improvements and SELinux integration.

iX-Workshop: Jump Start into the programming language Rust
This workshop is aimed at developers with experience in C++ who want to migrate existing code bases to Rust in whole or in part or who want to set up new projects in Rust. The focus is on central language features such as the ownership model, secure memory management and error handling.
The aim is to gain a sound understanding of the concepts and their application in everyday life. Complex topics are taught in a practical and comprehensible way, with a special focus on the differences and transitions between C++ and Rust as well as typical migration paths.
Registration and dates at heise.de/s/v6dDb

After the version jump, the Rust coreutils pass 522 of the 618 tests in the GNU test suite. In the March 2025 release, there were still 507 tests. Instead of 69, only 65 tests failed. At the same time, the number of skipped tests was reduced from 41 to 31. In addition, various applications run faster with the update, including cat, ls and wc. According to the developers, their performance is now comparable to the GNU coreutils. In some cases, the speeds of the Rust applications are also higher than their counterparts in C.

Furthermore, with the update to version 0.1, several applications of the Rust coreutils have been integrated into SELinux, including cp, ls, mkdir and install. SELinux is an extension of the Linux kernel with which an administrator can determine the access of programs to files and resources. It is mainly used with Red Hat and its offshoots. Debian and Ubuntu primarily rely on the alternative AppArmor and only partially support SELinux. SELinux only replaced the previous access protection in openSUSE Tumbleweed in February 2025.

Videos by heise

Although users can continue to use their existing scripts with 100% compatibility between the coreutils in Rust and C and should not notice any differences, some developers see potential advantages in the Rust variant. Jon Saeger, Head of Development at Canonical, referred to reduced vulnerability to attacks and better memory management. The Ubuntu version 25.10 planned for October 2025 should therefore include the Rust coreutils. They could then also become part of the LTS version Ubuntu 26.04.

(sfe)

Don't miss any news – follow us on Facebook, LinkedIn or Mastodon.

This article was originally published in German. It was translated with technical assistance and editorially reviewed before publication.