diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-02-25 16:06:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-25 16:06:20 -0500 |
| commit | 503d50b94cb7864d126131a538913f8ab83bd6bc (patch) | |
| tree | 2b1c691be9d9c55566e44e1bea2e7a2a932ae215 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | fe6cbbc1688fdf99f526b6d1a562923c6fdbae0d (diff) | |
| parent | 476c6c27e751ced05f5c279770ff8f6a114fe8eb (diff) | |
| download | rust-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/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
