You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rework task::try for new task_builder interface. #3103
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Maybe users want task::task().supervised().try. The current toplevel one should stay the same - i.e., equivalent to a potential new task::task().unlinked().try.
Maybe it does make sense for task::try to to supervise the child. There might be some way for the parent to be killed but the unlinked child to keep running under the current scheme, which sounds potentially errorsome.
Yeah, I think that makes more sense as a default behaviour. I just wrote f57760c, for which try would work either way. I guess I'd need to audit all other callsites.
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Activity
brson commentedon Aug 3, 2012
Maybe it does make sense for task::try to to supervise the child. There might be some way for the parent to be killed but the unlinked child to keep running under the current scheme, which sounds potentially errorsome.
bblum commentedon Aug 4, 2012
Yeah, I think that makes more sense as a default behaviour. I just wrote f57760c, for which
trywould work either way. I guess I'd need to audit all other callsites.Catch parser panic in format_snippet (rust-lang#3103)
Automatic cargo update to 2024-03-25 (rust-lang#3103)
Merge pull request rust-lang#3103 from rust-lang/rustc-pull