diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-12 23:34:31 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-15 22:56:46 -0700 |
| commit | 0015cab1fd7b4b47030c808a825bb5594cc1d4ac (patch) | |
| tree | cf054fdf43843170e6479675e62a29b6213e2ce2 /src/libnative | |
| parent | 17ad504fef35191fe53874bd2fe77ffd14d8e1b9 (diff) | |
| download | rust-0015cab1fd7b4b47030c808a825bb5594cc1d4ac.tar.gz rust-0015cab1fd7b4b47030c808a825bb5594cc1d4ac.zip | |
Test fixes and rebase conflicts
This commit switches over the backtrace infrastructure from piggy-backing off the RUST_LOG environment variable to using the RUST_BACKTRACE environment variable (logging is now disabled in libstd).
Diffstat (limited to 'src/libnative')
| -rw-r--r-- | src/libnative/io/file_win32.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnative/io/file_win32.rs b/src/libnative/io/file_win32.rs index 8f4f9259ab7..c5ae4f00017 100644 --- a/src/libnative/io/file_win32.rs +++ b/src/libnative/io/file_win32.rs @@ -238,7 +238,7 @@ impl Drop for Inner { if self.close_on_drop && self.fd > libc::STDERR_FILENO { let n = unsafe { libc::close(self.fd) }; if n != 0 { - warn!("error {} when closing file descriptor {}", n, self.fd); + println!("error {} when closing file descriptor {}", n, self.fd); } } } |
