This is a stub page. It needs to be expanded with proper content.

Definition

rustc is the official compiler for the rust programming language, maintained by the Rust project. It performs type checking, borrow checking, monomorphization, and LLVM-based code generation.

Key Points

  • Emits .rmeta metadata files consumed by dependent crates during compilation
  • headstart patch adds -Zearly-metadata to emit .early-rmeta before function bodies finish, enabling rust-compiler-pipelining
  • Part of the Rust toolchain alongside cargo and rustup

Sources