GCC Newspaper
NOVEMBER 30, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
gccrs

gccrs: Add extern prelude crate tests

Adds new tests for Rust-GCC's handling of extern prelude crates.

This commit enhances the test suite for Rust-GCC by introducing new tests specifically for extern prelude crates. It includes a test for the extern prelude crate path and a minimal core library. These additions aim to improve the compiler’s correctness and robustness in handling external crates and their prelude modules.

In Details

New test cases are added to gccrs for extern prelude crates, including rust/minicore/extern_prelude_path.rs and a corresponding minimal core library. This validates the compiler's ability to correctly resolve and handle paths within extern crates, particularly those that form part of the prelude.

Filed Under: gccrsrustcompilertesting