about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-02-25 16:06:20 -0500
committerGitHub <noreply@github.com>2021-02-25 16:06:20 -0500
commit503d50b94cb7864d126131a538913f8ab83bd6bc (patch)
tree2b1c691be9d9c55566e44e1bea2e7a2a932ae215 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parentfe6cbbc1688fdf99f526b6d1a562923c6fdbae0d (diff)
parent476c6c27e751ced05f5c279770ff8f6a114fe8eb (diff)
downloadrust-503d50b94cb7864d126131a538913f8ab83bd6bc.tar.gz
rust-503d50b94cb7864d126131a538913f8ab83bd6bc.zip
Rollup merge of #82464 - ehuss:unix-command-comment, r=kennytm
Update outdated comment in unix Command.

The big comment in the `Command` struct has been incorrect for some time (at least since #46789 which removed `envp`). Rather than try to remove the allocations, this PR just updates the comment to reflect reality. There is an explanation for the reasoning at https://github.com/rust-lang/rust/pull/31409#issuecomment-182122895, discussing the potential of being able to call `Command::exec` after `libc::fork`.  That can still be done in the future, but I think for now it would be good to just correct the comment.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions