提交 f20b1293 编写于 作者: A Alex Crichton

Register new snapshots

上级 d64f18c4
......@@ -20,14 +20,7 @@
extern crate getopts;
extern crate green;
extern crate rustuv;
#[cfg(stage0)]
#[phase(syntax, link)]
extern crate log;
#[cfg(not(stage0))]
#[phase(plugin, link)]
extern crate log;
#[phase(plugin, link)] extern crate log;
extern crate regex;
......
......@@ -70,25 +70,16 @@
#![no_std]
#![feature(phase)]
#[cfg(stage0)]
#[phase(syntax, link)]
extern crate core;
#[cfg(not(stage0))]
#[phase(plugin, link)]
extern crate core;
extern crate libc;
// Allow testing this library
#[cfg(test)] extern crate debug;
#[cfg(test)] extern crate native;
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate std;
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate std;
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
#[cfg(test)] #[phase(plugin, link)] extern crate std;
#[cfg(test)] #[phase(plugin, link)] extern crate log;
// Heaps provided for low-level allocation strategies
......
......@@ -23,24 +23,15 @@
#![feature(macro_rules, managed_boxes, default_type_params, phase, globs)]
#![no_std]
#[phase(plugin, link)] extern crate core;
extern crate alloc;
#[cfg(stage0)]
#[phase(syntax, link)]
extern crate core;
#[cfg(not(stage0))]
#[phase(plugin, link)]
extern crate core;
#[cfg(test)] extern crate native;
#[cfg(test)] extern crate test;
#[cfg(test)] extern crate debug;
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate std;
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate std;
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
#[cfg(test)] #[phase(plugin, link)] extern crate std;
#[cfg(test)] #[phase(plugin, link)] extern crate log;
use core::prelude::*;
......
......@@ -27,8 +27,7 @@
html_root_url = "http://doc.rust-lang.org/")]
#![feature(phase)]
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
#[cfg(test)] #[phase(plugin, link)] extern crate log;
extern crate libc;
......
......@@ -90,8 +90,7 @@
#![deny(missing_doc)]
#[cfg(test)] extern crate debug;
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
#[cfg(test)] #[phase(plugin, link)] extern crate log;
use std::cmp::PartialEq;
use std::fmt;
......
......@@ -28,26 +28,11 @@
#![no_std]
#![experimental]
#[cfg(stage0)]
#[phase(syntax, link)]
extern crate core;
#[cfg(not(stage0))]
#[phase(plugin, link)]
extern crate core;
#[cfg(test, stage0)]
#[phase(syntax, link)] extern crate std;
#[cfg(test, stage0)]
#[phase(syntax, link)] extern crate log;
#[cfg(test, not(stage0))]
#[phase(plugin, link)] extern crate std;
#[cfg(test, not(stage0))]
#[phase(plugin, link)] extern crate log;
#[cfg(test)] #[phase(plugin, link)] extern crate std;
#[cfg(test)] #[phase(plugin, link)] extern crate log;
#[cfg(test)] extern crate native;
#[cfg(test)] extern crate debug;
......
......@@ -40,14 +40,7 @@
extern crate serialize;
extern crate syntax;
extern crate time;
#[cfg(stage0)]
#[phase(syntax, link)]
extern crate log;
#[cfg(not(stage0))]
#[phase(plugin, link)]
extern crate log;
#[phase(plugin, link)] extern crate log;
pub mod middle {
pub mod def;
......
......@@ -24,14 +24,7 @@
extern crate syntax;
extern crate testing = "test";
extern crate time;
#[cfg(stage0)]
#[phase(syntax, link)]
extern crate log;
#[cfg(not(stage0))]
#[phase(plugin, link)]
extern crate log;
#[phase(plugin, link)] extern crate log;
use std::io;
use std::io::{File, MemWriter};
......
......@@ -20,14 +20,7 @@
#![no_std]
#![experimental]
#[cfg(stage0)]
#[phase(syntax, link)]
extern crate core;
#[cfg(not(stage0))]
#[phase(plugin, link)]
extern crate core;
#[phase(plugin, link)] extern crate core;
extern crate alloc;
extern crate libc;
extern crate collections;
......@@ -36,8 +29,7 @@
#[cfg(test)] extern crate test;
#[cfg(test)] extern crate native;
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate std;
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate std;
#[cfg(test)] #[phase(plugin, link)] extern crate std;
pub use self::util::{Stdio, Stdout, Stderr};
pub use self::unwind::{begin_unwind, begin_unwind_fmt};
......
......@@ -28,11 +28,6 @@
#[cfg(test)]
extern crate test;
#[cfg(stage0)]
#[phase(syntax, link)]
extern crate log;
#[cfg(not(stage0))]
#[phase(plugin, link)]
extern crate log;
......
......@@ -33,9 +33,6 @@
task annihilation. For now, cycles need to be broken manually by using `Rc<T>` \
with a non-owning `Weak<T>` pointer. A tracing garbage collector is planned."]
pub struct Gc<T> {
#[cfg(stage0)]
ptr: @T,
#[cfg(not(stage0))]
_ptr: *T,
marker: marker::NoSend,
}
......@@ -76,9 +73,6 @@ fn cmp(&self, other: &Gc<T>) -> Ordering { (**self).cmp(&**other) }
impl<T: Eq + 'static> Eq for Gc<T> {}
impl<T: 'static> Deref<T> for Gc<T> {
#[cfg(stage0)]
fn deref<'a>(&'a self) -> &'a T { &*self.ptr }
#[cfg(not(stage0))]
fn deref<'a>(&'a self) -> &'a T { &**self }
}
......
......@@ -119,8 +119,7 @@
#[cfg(test)] extern crate native;
#[cfg(test)] extern crate green;
#[cfg(test)] extern crate debug;
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
#[cfg(test)] #[phase(plugin, link)] extern crate log;
extern crate alloc;
extern crate core;
......
......@@ -30,9 +30,6 @@
#![deny(missing_doc)]
#![no_std]
#[cfg(stage0)]
#[phase(syntax, link)] extern crate core;
#[cfg(not(stage0))]
#[phase(plugin, link)] extern crate core;
extern crate alloc;
extern crate collections;
......@@ -40,8 +37,7 @@
#[cfg(test)] extern crate test;
#[cfg(test)] extern crate native;
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate std;
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate std;
#[cfg(test)] #[phase(plugin, link)] extern crate std;
pub use alloc::arc::{Arc, Weak};
pub use lock::{Mutex, MutexGuard, Condvar, Barrier,
......
......@@ -79,7 +79,6 @@ pub fn expand_meta_deriving(cx: &mut ExtCtxt,
"Encodable" => expand!(encodable::expand_deriving_encodable),
"Decodable" => expand!(decodable::expand_deriving_decodable),
// NOTE: after a stage0 snap this needs treatment
"PartialEq" => expand!(eq::expand_deriving_eq),
"Eq" => expand!(totaleq::expand_deriving_totaleq),
"PartialOrd" => expand!(ord::expand_deriving_ord),
......
......@@ -37,17 +37,8 @@ pub mod rt {
use parse;
use print::pprust;
#[cfg(not(stage0))]
use ast::{TokenTree, Generics, Expr};
// NOTE remove this after snapshot
// (stage0 quasiquoter needs this)
#[cfg(stage0)]
pub use ast::{Generics, TokenTree, TTTok};
#[cfg(stage0)]
pub use parse::token::{IDENT, SEMI, LBRACE, RBRACE, LIFETIME, COLON, AND, BINOP, EQ,
LBRACKET, RBRACKET, LPAREN, RPAREN, POUND, NOT, MOD_SEP, DOT, COMMA};
pub use parse::new_parser_from_tts;
pub use codemap::{BytePos, Span, dummy_spanned};
......
......@@ -32,14 +32,7 @@
extern crate serialize;
extern crate term;
#[cfg(stage0)]
#[phase(syntax, link)]
extern crate log;
#[cfg(not(stage0))]
#[phase(plugin, link)]
extern crate log;
#[phase(plugin, link)] extern crate log;
extern crate fmt_macros;
extern crate debug;
......
......@@ -52,8 +52,7 @@
#![deny(missing_doc)]
#[cfg(stage0)] #[phase(syntax, link)] extern crate log;
#[cfg(not(stage0))] #[phase(plugin, link)] extern crate log;
#[phase(plugin, link)] extern crate log;
pub use terminfo::TerminfoTerminal;
#[cfg(windows)]
......
......@@ -22,9 +22,7 @@
#![feature(phase)]
#[cfg(test)] extern crate debug;
#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log;
#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log;
#[cfg(test)] #[phase(plugin, link)] extern crate log;
extern crate serialize;
extern crate libc;
......
S 2014-06-11 f9260d4
freebsd-x86_64 57f155da12e561a277506f999a616ff689a55dcc
linux-i386 df46b5dab3620375d6175c284ea0aeb3f9c6a11e
linux-x86_64 a760c8271ecb850bc802e151c2a321f212edf526
macos-i386 d6c831717aebd16694fb7e63dca98845e6583378
macos-x86_64 76932cacbdc2557e51565917a1bb6629b0b4ebc1
winnt-i386 6285faeac311a9a84db078ab93d299a65abeeea9
S 2014-05-30 60a43f9
freebsd-x86_64 59067eb9e89bde3e20a1078104f4b1105e4b56fc
linux-i386 c1a81811e8e104c91c35d94a140e3cf8463c7655
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册