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]
This commit is contained in:
@@ -16,17 +16,18 @@
|
||||
|
||||
#![feature(globs, struct_variant, managed_boxes, macro_rules, phase)]
|
||||
|
||||
extern crate syntax;
|
||||
extern crate collections;
|
||||
extern crate debug;
|
||||
extern crate getopts;
|
||||
extern crate libc;
|
||||
#[phase(syntax, link)]
|
||||
extern crate log;
|
||||
extern crate rustc;
|
||||
extern crate serialize;
|
||||
extern crate sync;
|
||||
extern crate getopts;
|
||||
extern crate collections;
|
||||
extern crate syntax;
|
||||
extern crate testing = "test";
|
||||
extern crate time;
|
||||
#[phase(syntax, link)]
|
||||
extern crate log;
|
||||
extern crate libc;
|
||||
|
||||
use std::io;
|
||||
use std::io::{File, MemWriter};
|
||||
|
||||
Reference in New Issue
Block a user