Explicitly use version 0.2 of crates

This commit is contained in:
Brian Anderson 2012-04-05 17:30:26 -07:00
parent c83d61de93
commit d13c0c77a2
12 changed files with 53 additions and 21 deletions

View File

@ -17,4 +17,12 @@
#[crate_type = "bin"];
#[no_core];
use core(vers = "0.2");
use std(vers = "0.2");
use rustc(vers = "0.2");
import core::*;
mod pgp;

View File

@ -1,8 +1,5 @@
// cargo.rs - Rust package manager
use rustc;
use std;
import rustc::syntax::{ast, codemap};
import rustc::syntax::parse::parser;
import rustc::util::filesearch::{get_cargo_root, get_cargo_root_nearest,

View File

@ -1,5 +1,3 @@
use std;
fn gpg(args: [str]) -> { status: int, out: str, err: str } {
ret run::program_output("gpg", args);
}

View File

@ -1,6 +1,11 @@
#[crate_type = "bin"];
use std;
#[no_core];
use core(vers = "0.2");
use std(vers = "0.2");
import core::*;
mod procsrv;
mod util;

View File

@ -2,8 +2,13 @@
#[crate_type = "bin"];
use std;
use rustc;
#[no_core];
use core(vers = "0.2");
use std(vers = "0.2");
use rustc(vers = "0.2");
import core::*;
// Local Variables:
// fill-column: 78;

View File

@ -40,7 +40,7 @@ mod core {
// Similar to above. Some magic to make core testable.
#[cfg(test)]
mod std {
use std;
use std(vers = "0.2");
import std::test;
}

View File

@ -1,5 +1,3 @@
use std;
import codemap::span;
import std::map::{hashmap, str_hash};

View File

@ -4,7 +4,12 @@
#[crate_type = "lib"];
use std;
#[no_core];
use core(vers = "0.2");
use std(vers = "0.2");
import core::*;
mod attr;
mod diagnostic;

View File

@ -8,6 +8,11 @@
#[crate_type = "lib"];
#[doc = "The Rust standard library"];
#[no_core];
use core(vers = "0.2");
import core::*;
export net, uv;
export c_vec, four, tri, util;
export bitv, deque, fun_treemap, list, map, smallintmap, sort, treemap, ufind;
@ -15,7 +20,6 @@ export rope, arena;
export ebml, dbg, getopts, json, rand, sha1, term, time, prettyprint;
export test, tempfile, serialization;
// General io and system-services modules
mod net;

View File

@ -1,5 +1,10 @@
use std;
use rustc;
#[no_core];
use core(vers = "0.2");
use std(vers = "0.2");
use rustc(vers = "0.2");
import core::*;
// -*- rust -*-
import result::{ok, err};

View File

@ -9,11 +9,13 @@
#[license = "MIT"];
#[crate_type = "lib"];
use std (name = "std",
vers = "0.2",
url = "https://github.com/mozilla/rust/tree/master/src/libstd");
#[no_core];
use rustsyntax;
use core(vers = "0.2");
use std(vers = "0.2");
use rustsyntax(vers = "0.2");
import core::*;
mod middle {
mod trans {

View File

@ -9,8 +9,13 @@
#[license = "MIT"];
#[crate_type = "bin"];
use std;
use rustc;
#[no_core];
use core(vers = "0.2");
use std(vers = "0.2");
use rustc(vers = "0.2");
import core::*;
mod config;
mod parse;