Stabilize ExitCode::exit_process - #161908
ChrisDenton wants to merge 1 commit into
Conversation
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
(we decided we don't need to nominate if we just start FCP) |
|
I'll start one here too. The first confused libs-fcp member can cancel the other one. |
|
@ChrisDenton has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! cc @rust-lang/libs-ping: FCP proposed for libs, please feel free to register concerns. |
|
For reference I'll copy across my comment from the tracking issue: I guess my only concern nowadays would be that I'm increasingly wanting people not to use That said, we do have |
|
Yeah, it makes sense to potentially discourage this method + the regular |
This comment was marked as spam.
This comment was marked as spam.
|
I think I must have missed this one when it went by. Not raising a concern (though I might abstain from a checkbox), but: Why |
|
I would imagine that a big motivation is being able to do stuff like |
|
Ideally |
|
Ok so counter proposal: pub fn exit_with<T: Termination>(termination: T) -> ! {
exit(termination.report().to_i32())
}Where |
Tracking issue: #97100