GCC Rust 2024

Rustc test-suite adapter for GCC Rust using rusttest-to-dg, Compiletest annotations, and DejaGnu.

In Google Summer of Code 2024, I worked with GNU GCC on test infrastructure for GCC Rust. The project focused on making rustc’s official test cases usable inside GCC’s testing workflow.

Rustc tests use Compiletest annotations, while GCC uses DejaGnu. I built rusttest-to-dg, a Rust command-line tool that parses rustc test files and emits DejaGnu directives so GCC Rust can reuse more compatibility tests.

Evidence and context: