about summary refs log tree commit diff
path: root/src/libsync
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-12 23:34:31 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-15 22:56:46 -0700
commit0015cab1fd7b4b47030c808a825bb5594cc1d4ac (patch)
treecf054fdf43843170e6479675e62a29b6213e2ce2 /src/libsync
parent17ad504fef35191fe53874bd2fe77ffd14d8e1b9 (diff)
downloadrust-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/libsync')
-rw-r--r--src/libsync/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsync/lib.rs b/src/libsync/lib.rs
index 924af6bfd42..d4593318eaf 100644
--- a/src/libsync/lib.rs
+++ b/src/libsync/lib.rs
@@ -21,10 +21,10 @@
       html_root_url = "http://static.rust-lang.org/doc/master")];
 #[feature(phase)];
 
-#[cfg(test)] #[phase(syntax, link)] extern crate log;
-
 #[allow(deprecated_owned_vector)];
 
+#[cfg(test)] #[phase(syntax, link)] extern crate log;
+
 pub use arc::{Arc, MutexArc, RWArc, RWWriteMode, RWReadMode, ArcCondvar, CowArc};
 pub use sync::{Mutex, RWLock, Condvar, Semaphore, RWLockWriteMode,
                RWLockReadMode, Barrier, one, mutex};