Explicitly use version 0.2 of crates
This commit is contained in:
@@ -17,4 +17,12 @@
|
|||||||
|
|
||||||
#[crate_type = "bin"];
|
#[crate_type = "bin"];
|
||||||
|
|
||||||
|
#[no_core];
|
||||||
|
|
||||||
|
use core(vers = "0.2");
|
||||||
|
use std(vers = "0.2");
|
||||||
|
use rustc(vers = "0.2");
|
||||||
|
|
||||||
|
import core::*;
|
||||||
|
|
||||||
mod pgp;
|
mod pgp;
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
// cargo.rs - Rust package manager
|
// cargo.rs - Rust package manager
|
||||||
|
|
||||||
use rustc;
|
|
||||||
use std;
|
|
||||||
|
|
||||||
import rustc::syntax::{ast, codemap};
|
import rustc::syntax::{ast, codemap};
|
||||||
import rustc::syntax::parse::parser;
|
import rustc::syntax::parse::parser;
|
||||||
import rustc::util::filesearch::{get_cargo_root, get_cargo_root_nearest,
|
import rustc::util::filesearch::{get_cargo_root, get_cargo_root_nearest,
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
use std;
|
|
||||||
|
|
||||||
fn gpg(args: [str]) -> { status: int, out: str, err: str } {
|
fn gpg(args: [str]) -> { status: int, out: str, err: str } {
|
||||||
ret run::program_output("gpg", args);
|
ret run::program_output("gpg", args);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
#[crate_type = "bin"];
|
#[crate_type = "bin"];
|
||||||
|
|
||||||
use std;
|
#[no_core];
|
||||||
|
|
||||||
|
use core(vers = "0.2");
|
||||||
|
use std(vers = "0.2");
|
||||||
|
|
||||||
|
import core::*;
|
||||||
|
|
||||||
mod procsrv;
|
mod procsrv;
|
||||||
mod util;
|
mod util;
|
||||||
|
|||||||
@@ -2,8 +2,13 @@
|
|||||||
|
|
||||||
#[crate_type = "bin"];
|
#[crate_type = "bin"];
|
||||||
|
|
||||||
use std;
|
#[no_core];
|
||||||
use rustc;
|
|
||||||
|
use core(vers = "0.2");
|
||||||
|
use std(vers = "0.2");
|
||||||
|
use rustc(vers = "0.2");
|
||||||
|
|
||||||
|
import core::*;
|
||||||
|
|
||||||
// Local Variables:
|
// Local Variables:
|
||||||
// fill-column: 78;
|
// fill-column: 78;
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ mod core {
|
|||||||
// Similar to above. Some magic to make core testable.
|
// Similar to above. Some magic to make core testable.
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod std {
|
mod std {
|
||||||
use std;
|
use std(vers = "0.2");
|
||||||
import std::test;
|
import std::test;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
use std;
|
|
||||||
|
|
||||||
import codemap::span;
|
import codemap::span;
|
||||||
import std::map::{hashmap, str_hash};
|
import std::map::{hashmap, str_hash};
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,12 @@
|
|||||||
|
|
||||||
#[crate_type = "lib"];
|
#[crate_type = "lib"];
|
||||||
|
|
||||||
use std;
|
#[no_core];
|
||||||
|
|
||||||
|
use core(vers = "0.2");
|
||||||
|
use std(vers = "0.2");
|
||||||
|
|
||||||
|
import core::*;
|
||||||
|
|
||||||
mod attr;
|
mod attr;
|
||||||
mod diagnostic;
|
mod diagnostic;
|
||||||
|
|||||||
@@ -8,6 +8,11 @@
|
|||||||
#[crate_type = "lib"];
|
#[crate_type = "lib"];
|
||||||
#[doc = "The Rust standard library"];
|
#[doc = "The Rust standard library"];
|
||||||
|
|
||||||
|
#[no_core];
|
||||||
|
|
||||||
|
use core(vers = "0.2");
|
||||||
|
import core::*;
|
||||||
|
|
||||||
export net, uv;
|
export net, uv;
|
||||||
export c_vec, four, tri, util;
|
export c_vec, four, tri, util;
|
||||||
export bitv, deque, fun_treemap, list, map, smallintmap, sort, treemap, ufind;
|
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 ebml, dbg, getopts, json, rand, sha1, term, time, prettyprint;
|
||||||
export test, tempfile, serialization;
|
export test, tempfile, serialization;
|
||||||
|
|
||||||
|
|
||||||
// General io and system-services modules
|
// General io and system-services modules
|
||||||
|
|
||||||
mod net;
|
mod net;
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
use std;
|
#[no_core];
|
||||||
use rustc;
|
|
||||||
|
use core(vers = "0.2");
|
||||||
|
use std(vers = "0.2");
|
||||||
|
use rustc(vers = "0.2");
|
||||||
|
|
||||||
|
import core::*;
|
||||||
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
import result::{ok, err};
|
import result::{ok, err};
|
||||||
|
|||||||
@@ -9,11 +9,13 @@
|
|||||||
#[license = "MIT"];
|
#[license = "MIT"];
|
||||||
#[crate_type = "lib"];
|
#[crate_type = "lib"];
|
||||||
|
|
||||||
use std (name = "std",
|
#[no_core];
|
||||||
vers = "0.2",
|
|
||||||
url = "https://github.com/mozilla/rust/tree/master/src/libstd");
|
|
||||||
|
|
||||||
use rustsyntax;
|
use core(vers = "0.2");
|
||||||
|
use std(vers = "0.2");
|
||||||
|
use rustsyntax(vers = "0.2");
|
||||||
|
|
||||||
|
import core::*;
|
||||||
|
|
||||||
mod middle {
|
mod middle {
|
||||||
mod trans {
|
mod trans {
|
||||||
|
|||||||
@@ -9,8 +9,13 @@
|
|||||||
#[license = "MIT"];
|
#[license = "MIT"];
|
||||||
#[crate_type = "bin"];
|
#[crate_type = "bin"];
|
||||||
|
|
||||||
use std;
|
#[no_core];
|
||||||
use rustc;
|
|
||||||
|
use core(vers = "0.2");
|
||||||
|
use std(vers = "0.2");
|
||||||
|
use rustc(vers = "0.2");
|
||||||
|
|
||||||
|
import core::*;
|
||||||
|
|
||||||
mod config;
|
mod config;
|
||||||
mod parse;
|
mod parse;
|
||||||
|
|||||||
Reference in New Issue
Block a user