Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looks like libstd/lib.rs still points to old_io, which shows up on http://doc.rust-lang.org/1.0.0-beta/std/

Same with libcollections/fmt.rs defining the write! macro as taking an old_io::Writer

There's also a bunch of old_io in http://doc.rust-lang.org/book/concurrency.html



I just submitted a fix for the first, the second I'm not as sure about, and I just opened up https://github.com/rust-lang/rust/issues/24023 for the third. It's non-trivial because Duration isn't yet stable, I thought it might be, so I didn't prioritize updating, but it didn't quite make it in. Thank you!


Shouldn't the third be trivial, since thread::sleep_ms takes a u32?

Still building beta, but shouldn't this work? https://github.com/rust-lang/rust/pull/24024


Ahhh, so this was one of those last-hour changes, specifically so this works out, iirc. sleep will take a Duration, sleep_ms takes a u32. Anyway, let's keep talking in-ticket.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: