rust/compiler/rustc_codegen_llvm
Zalathar 7a5ad35da4 Pass a byte slice to coverageinfo::hash_bytes instead of an owned vector
The function body immediately treats it as a slice anyway, so this just makes
it possible to call the hash function with arbitrary read-only byte slices.
2023-07-13 11:28:50 +10:00
..
src Pass a byte slice to coverageinfo::hash_bytes instead of an owned vector 2023-07-13 11:28:50 +10:00
Cargo.toml Revert "use new c literals instead of cstr! macro" 2023-07-05 13:11:27 +02:00
messages.ftl Use translatable diagnostics in rustc_const_eval 2023-06-01 14:45:18 +00:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

The codegen crate contains the code to convert from MIR into LLVM IR, and then from LLVM IR into machine code. In general it contains code that runs towards the end of the compilation process.

For more information about how codegen works, see the rustc dev guide.