Skip to content

Conversation

@andresilva
Copy link
Contributor

Fixes for rustc 1.0.0-nightly (b47aebe3f 2015-02-26) (built 2015-02-26).

tests/single.rs Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's no longer possible to handle panics from scoped threads (PR #22435). I'm not entirely sure if the panic was relevant to the test logic.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the panic is actually quite important, since this is testing the behavior of a thunk under a panic.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, although I don't know how to fix it.

@andresilva andresilva force-pushed the fix-latest-rust branch 3 times, most recently from 9cefc36 to e8fd0d9 Compare February 28, 2015 00:41
@andresilva
Copy link
Contributor Author

I've updated to rust 1.0.0-nightly (12b846ab8 2015-03-09) (built 2015-03-09). It is now possible to join spawned threads and handle panics, so the original unit test behavior is restored.

@reem
Copy link
Owner

reem commented Mar 11, 2015

Excellent! Thank you very much.

reem added a commit that referenced this pull request Mar 11, 2015
@reem reem merged commit 55ffe18 into reem:master Mar 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants