diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-24 08:50:11 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-24 11:12:34 +1000 |
| commit | af8047789dded51803be6cba1a708cddb1618020 (patch) | |
| tree | 1de12b82bb9656980189afd085e120a0a9531d53 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 055a27da2afcc8a7d74a551c32e8a831a825d549 (diff) | |
| download | rust-af8047789dded51803be6cba1a708cddb1618020.tar.gz rust-af8047789dded51803be6cba1a708cddb1618020.zip | |
Refactor `StableMir` to avoid some clones.
Pass `args` to `run` instead of storing it in a field. This avoids the need to clone it within `run`. Also, change `args` from `Vec<String>` to `&[String]`, avoiding the need for some vecs and clones.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
