Skip to content

Commit d73fc8c

Browse files
z0w0graydon
authored andcommitted
---
yaml --- r: 46303 b: refs/heads/auto c: b10dc1a h: refs/heads/master i: 46301: 01b6274 46299: f1621cc 46295: 345b747 46287: 9efa41d 46271: da6767a v: v3
1 parent b9951f3 commit d73fc8c

File tree

6 files changed

+11
-13
lines changed

6 files changed

+11
-13
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 2192d11cd197a983f3ceb58aad98786c1b9f890d
17+
refs/heads/auto: b10dc1af0661c68155c49f508fe7a26a2ea02083

branches/auto/src/libcore/core.rc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,6 @@ pub mod reflect;
169169
pub mod condition;
170170
pub mod logging;
171171
pub mod util;
172-
pub mod semver;
173-
174172

175173
/* Reexported core operators */
176174

branches/auto/src/librustpkg/rustpkg.rc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ use send_map::linear::LinearMap;
3333
use rustc::metadata::filesearch;
3434
use rustc::driver::{driver, session};
3535
use syntax::{ast, attr, codemap, diagnostic, parse, visit};
36-
use semver::Version;
36+
use std::semver;
3737

3838
mod usage;
3939
mod util;
@@ -43,7 +43,7 @@ use util::Package;
4343
struct PackageScript {
4444
id: ~str,
4545
name: ~str,
46-
vers: Version,
46+
vers: semver::Version,
4747
crates: ~[~str],
4848
deps: ~[(~str, Option<~str>)],
4949
input: driver::input,
@@ -222,8 +222,7 @@ impl PackageScript {
222222
}
223223

224224
// Build the bootstrap and run a command
225-
// FIXME: Use workcache to only compile the script when changed
226-
// FIXME: Use JIT once it works, it should be faster
225+
// FIXME (#4432): Use workcache to only compile the script when changed
227226
fn run(cmd: ~str) -> int {
228227
let work_dir = self.work_dir();
229228
let input = self.input;

branches/auto/src/librustpkg/util.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ use rustc::driver::{driver, session};
1515
use syntax::ast_util::*;
1616
use syntax::{ast, attr, codemap, diagnostic, fold, parse, visit};
1717
use codemap::span;
18-
use semver::Version;
18+
use std::semver;
1919
use std::{json, term, sort, getopts};
2020
use getopts::groups::getopts;
2121
use Listener;
2222

2323
pub struct Package {
2424
id: ~str,
25-
vers: Version,
25+
vers: semver::Version,
2626
bins: ~[~str],
2727
libs: ~[~str],
2828
}
@@ -488,7 +488,7 @@ pub fn ready_crate(sess: session::Session,
488488
@fold.fold_crate(*crate)
489489
}
490490

491-
pub fn parse_vers(vers: ~str) -> result::Result<Version, ~str> {
491+
pub fn parse_vers(vers: ~str) -> result::Result<semver::Version, ~str> {
492492
match semver::parse(vers) {
493493
Some(vers) => result::Ok(vers),
494494
None => result::Err(~"could not parse version: invalid")
@@ -1023,7 +1023,7 @@ pub fn exe_suffix() -> ~str { ~".exe" }
10231023
pub fn exe_suffix() -> ~str { ~"" }
10241024

10251025

1026-
// FIXME: Use workcache to only compile when needed
1026+
// FIXME (#4432): Use workcache to only compile when needed
10271027
pub fn compile_crate(sysroot: Option<Path>, crate: &Path, dir: &Path,
10281028
flags: ~[~str], cfgs: ~[~str], opt: bool,
10291029
test: bool) -> bool {
@@ -1040,7 +1040,7 @@ pub fn compile_str(sysroot: Option<Path>, code: ~str, dir: &Path,
10401040

10411041
#[cfg(windows)]
10421042
pub fn link_exe(_src: &Path, _dest: &Path) -> bool {
1043-
/* FIXME: Investigate how to do this on win32
1043+
/* FIXME (#1768): Investigate how to do this on win32
10441044
Node wraps symlinks by having a .bat,
10451045
but that won't work with minGW. */
10461046

branches/auto/src/libstd/semver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use uint;
1717
use str;
1818
use to_str::ToStr;
1919
use char;
20-
use cmp;
20+
use core::cmp;
2121

2222
pub struct Version {
2323
major: uint,

branches/auto/src/libstd/std.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ pub mod rl;
9999
pub mod workcache;
100100
pub mod bigint;
101101
pub mod stats;
102+
pub mod semver;
102103

103104
#[cfg(unicode)]
104105
mod unicode;

0 commit comments

Comments
 (0)