Home Explore Blog CI



rustc

src/tests/codegen-backend-tests/intro.md
387ecf7669a6c446529af80305f6338b72904f98b7351a1f0000000300000210
# Codegen backend testing

See also the [Code generation](../../backend/codegen.md) chapter.

In addition to the primary LLVM codegen backend, the rust-lang/rust CI also runs tests of the [cranelift][cg_clif] and [GCC][cg_gcc] codegen backends in certain test jobs.

For more details on the tests involved, see:

- [Cranelift codegen backend tests](./cg_clif.md)
- [GCC codegen backend tests](./cg_gcc.md)


Chunks
471cddc8 (1st chunk of `src/tests/codegen-backend-tests/intro.md`)
Title: Codegen Backend Testing Overview
Summary
This section introduces testing for different codegen backends in the Rust compiler. Besides the primary LLVM backend, tests are also conducted for the Cranelift and GCC backends. The document refers to separate pages for details on the Cranelift and GCC codegen backend tests.