diff options
| author | bors <bors@rust-lang.org> | 2014-06-09 15:52:07 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-09 15:52:07 -0700 |
| commit | 0ea7aa30cc864d00fc30b9ba610f2daefab4e850 (patch) | |
| tree | 2f3216efe5cc25851595c14d803dc69738030a72 /src/libsync/lib.rs | |
| parent | b6146e652ae7f6d373d55dd021dc50cb00e0caf8 (diff) | |
| parent | deecda6a94b31489045d420f16840a72c44af7e1 (diff) | |
| download | rust-0ea7aa30cc864d00fc30b9ba610f2daefab4e850.tar.gz rust-0ea7aa30cc864d00fc30b9ba610f2daefab4e850.zip | |
auto merge of #14554 : kmcallister/rust/plugin_registrar, r=cmr
This implements the design in rust-lang/rfcs#86. It shouldn't be merged until that RFC is accepted, but it would be great if somebody has time to review the code before then.
Diffstat (limited to 'src/libsync/lib.rs')
| -rw-r--r-- | src/libsync/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libsync/lib.rs b/src/libsync/lib.rs index fc4d5fec5f5..44d17e6fb95 100644 --- a/src/libsync/lib.rs +++ b/src/libsync/lib.rs @@ -25,9 +25,12 @@ #![deny(missing_doc)] -#[cfg(test)] +#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log; +#[cfg(test, not(stage0))] +#[phase(plugin, link)] extern crate log; + extern crate alloc; pub use comm::{DuplexStream, duplex}; |
