On 01/06/2013 06:10, Brian Anderson wrote:
On 05/31/2013 01:44 AM, Sanghyeon Seo wrote:
Is it actually possible to use new I/O error handling at the moment? It seems to me that it is not possible to get at std::rt::io::io_error at all, because conditions are private and
do not work cross-crate.

https://github.com/mozilla/rust/issues/5446
https://github.com/mozilla/rust/issues/6009
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

You are right that it is not possible because of those errors. I believe that the fix for #6009 is 1cbf0a8 and has been snapshotted, so io_error and read_error can have their /*pub*/ uncommented.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev
I had thought that conditions were currently public, due to commit fe13b865. (Commit 1cbf0a8 is indeed related to all this, but it did not revert conditions to being private-by-default; that is planned for later, as described on pull request #6271)

But certainly the ICE described by #5446 sounds serious. I'll poke at it (and probably take care of the rest of #6009 while I am at it).

Cheers,
-Felix


-- irc: pnkfelix on irc.mozilla.org email: {fklock, pnkfelix}@mozilla.org
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to