about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-04-24 08:50:11 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-04-24 11:12:34 +1000
commitaf8047789dded51803be6cba1a708cddb1618020 (patch)
tree1de12b82bb9656980189afd085e120a0a9531d53 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent055a27da2afcc8a7d74a551c32e8a831a825d549 (diff)
downloadrust-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