From b53454e2e413ac58da20933968cb4a86a3c7c476 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 22 May 2014 11:28:01 -0700 Subject: Move std::{reflect,repr,Poly} to a libdebug crate This commit moves reflection (as well as the {:?} format modifier) to a new libdebug crate, all of which is marked experimental. This is a breaking change because it now requires the debug crate to be explicitly linked if the :? format qualifier is used. This means that any code using this feature will have to add `extern crate debug;` to the top of the crate. Any code relying on reflection will also need to do this. Closes #12019 [breaking-change] --- src/libstd/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstd/lib.rs') diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index bc1e3b82547..c1bc68b3e12 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -117,6 +117,7 @@ #[cfg(test)] extern crate rustuv; #[cfg(test)] extern crate native; #[cfg(test)] extern crate green; +#[cfg(test)] extern crate debug; #[cfg(test)] #[phase(syntax, link)] extern crate log; // Make and rand accessible for benchmarking/testcases -- cgit 1.4.1-3-g733a5