std: add #[cfg(test)] reference to extra so we can benchmark libstd.
This commit is contained in:
parent
bc2b78ca2c
commit
786318f61b
1 changed files with 3 additions and 0 deletions
|
@ -63,6 +63,9 @@ they contained the following prologue:
|
|||
#[deny(non_camel_case_types)];
|
||||
#[deny(missing_doc)];
|
||||
|
||||
// Make extra accessible for benchmarking
|
||||
#[cfg(test)] extern mod extra(vers="0.8-pre");
|
||||
|
||||
// Make std testable by not duplicating lang items. See #2912
|
||||
#[cfg(test)] extern mod realstd(name = "std");
|
||||
#[cfg(test)] pub use kinds = realstd::kinds;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue