about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/common.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-04-08 16:15:29 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-04-08 16:21:07 +0000
commitbbd82ff44e00d5e12949b465098d646f515ce715 (patch)
tree95b3eaed0b33e8903f244ad42b5ff8af6621cb59 /compiler/rustc_codegen_llvm/src/common.rs
parent75fd074338801fba74a8cf7f8c48c5c5be362d08 (diff)
downloadrust-bbd82ff44e00d5e12949b465098d646f515ce715.tar.gz
rust-bbd82ff44e00d5e12949b465098d646f515ce715.zip
Store all args in the unsupported Command implementation
This allows printing them in the Debug impl as well as getting them
again using the get_args() method. This allows programs that would
normally spawn another process to more easily show which program they
would have spawned if not for the fact that the target doesn't support
spawning child processes without requiring intrusive changes to keep the
args. For example rustc compiled to wasi will show the full linker
invocation that would have been done.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions