1
Fork 0
rust/compiler/rustc_codegen_ssa
Yuri Astrakhan aef0e346de Avoid ref when using format! in compiler
Clean up a few minor refs in `format!` macro, as it has a performance cost. Apparently the compiler is unable to inline `format!("{}", &variable)`, and does a run-time double-reference instead (format macro already does one level referencing).  Inlining format args prevents accidental `&` misuse.
2024-07-19 14:52:07 -04:00
..
src Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
Cargo.toml Sync ar_archive_writer to LLVM 18.1.3 2024-07-07 16:56:35 +00:00
messages.ftl coverage: Tighten validation of #[coverage(off)] and #[coverage(on)] 2024-06-24 20:15:01 +10:00
README.md

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.