We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fn main() { let res: Result<(), ()> = do task::try { fail; }; io::println(res.is_err().to_str()); }
Result on Windows 7:
rust: task failed at 'explicit failure', test.rs:2 rust: domain main @0x2fe450 root task failed
Result on Ubuntu 12.04:
rust: task failed at 'explicit failure', test.rs:2 true
Tasks spawned with spawn_supervisedand spawn_unlinked always kill the root task on Windows when the task fails.
spawn_supervised
spawn_unlinked
The text was updated successfully, but these errors were encountered:
This is a symptom of #908. Failure on windows does not work at all.
Sorry, something went wrong.
Merge pull request rust-lang#4111 from rust-lang/rustup-2024-12-27
3623dfd
Automatic Rustup
No branches or pull requests
Result on Windows 7:
Result on Ubuntu 12.04:
Tasks spawned with
spawn_supervised
andspawn_unlinked
always kill the root task on Windows when the task fails.The text was updated successfully, but these errors were encountered: