]> git.lizzy.rs Git - rust.git/commit
Remove a debug! statement before I/O is ready
authorAlex Crichton <alex@alexcrichton.com>
Sun, 10 Nov 2013 21:05:36 +0000 (13:05 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 10 Nov 2013 21:05:36 +0000 (13:05 -0800)
commitb71d629744167aea070298f9039de1b181f8f39e
tree7ad2c0bfe1abab488f8cbbc27b939622283145fd
parent3851f908d16b55dfe69d5a423ecbef4cd224fae2
Remove a debug! statement before I/O is ready

The logging macros all use libuv-based I/O, and there was one stray debug
statement in task::spawn which was executing before the I/O context was ready.
Remove it and add a test to make sure that we can continue to debug this sort of
code.

Closes #10405
src/libstd/task/spawn.rs
src/test/run-pass/spawning-with-debug.rs [new file with mode: 0644]