diff options
| author | bors <bors@rust-lang.org> | 2022-05-13 18:29:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-05-13 18:29:13 +0000 |
| commit | 9ad4bde042cfaf56f7579160c60ebd8550a720ab (patch) | |
| tree | c9d38555b21e450dabd3c23e12468185cffc533e /compiler/rustc_codegen_llvm/src | |
| parent | a7d6408b05912396618dfdcc9cc713d3ace2aa9a (diff) | |
| parent | a9e29d204e0d666b2a7724c15ffa24f988066eeb (diff) | |
| download | rust-9ad4bde042cfaf56f7579160c60ebd8550a720ab.tar.gz rust-9ad4bde042cfaf56f7579160c60ebd8550a720ab.zip | |
Auto merge of #95356 - coolreader18:exitstatus-exit-method, r=<try>
ExitCode::exit_process() method cc `@yaahc` / #93840 (eeek, hit ctrl-enter before I meant to and right after realizing the branch name was wrong. oh, well) I feel like it makes sense to have the `exit(ExitCode)` function as a method or at least associated function on ExitCode, but maybe that would hurt discoverability? Probably not as much if it's at the top of the `process::exit()` documentation or something, but idk. Also very unsure about the name, I'd like something that communicates that you are exiting with *this* ExitCode, but with a method name being postfix it doesn't seem to flow. `code.exit_process_with()` ? `.exit_process_with_self()` ? Blech. Maybe it doesn't matter, since ideally just `code.exit()` or something would be clear simply by the name and single parameter but :shrug: Also I'd like to touch up the `ExitCode` docs (which I did a bit here), but that would probably be good in a separate PR, right? Since I think the beta deadline is coming up.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
