Skip to content

Commit 5199d8a

Browse files
committed
---
yaml --- r: 54696 b: refs/heads/snap-stage3 c: d70f0f1 h: refs/heads/master v: v3
1 parent fabd6e2 commit 5199d8a

File tree

7 files changed

+169
-221
lines changed

7 files changed

+169
-221
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 8bf9fc52f405f2a825cbf2692d872e9e710999b5
4+
refs/heads/snap-stage3: d70f0f1a6e9ae3e2a998c60f4e2843507260f839
55
refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libcore/core.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ pub mod from_str;
176176
#[path = "num/num.rs"]
177177
pub mod num;
178178
pub mod iter;
179-
pub mod iterator;
180179
pub mod to_str;
181180
pub mod to_bytes;
182181
pub mod clone;

branches/snap-stage3/src/libcore/iterator.rs

Lines changed: 0 additions & 101 deletions
This file was deleted.

branches/snap-stage3/src/librust/rust.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ static commands: &'static [Command<'static>] = &[
6767
usage_line: "build an executable, and run it",
6868
usage_full: UsgStr(
6969
"The run command is an shortcut for the command line \n\
70-
\"rustc <filename> -o <filestem>~ && ./<filestem>~\".\
71-
\n\nUsage:\trust run <filename>"
70+
\"rustc <filename> -o <filestem>~ && ./<filestem>~ [<arguments>...]\".\
71+
\n\nUsage:\trust run <filename> [<arguments>...]"
7272
)
7373
},
7474
Command{
@@ -169,14 +169,14 @@ fn cmd_test(args: &[~str]) -> ValidUsage {
169169

170170
fn cmd_run(args: &[~str]) -> ValidUsage {
171171
match args {
172-
[filename] => {
172+
[filename, ..prog_args] => {
173173
let exec = Path(filename).filestem().unwrap() + "~";
174174
if run::run_program("rustc", [
175175
filename.to_owned(),
176176
~"-o",
177177
exec.to_owned()
178178
]) == 0 {
179-
run::run_program(~"./"+exec, []);
179+
run::run_program(~"./"+exec, prog_args);
180180
}
181181
Valid
182182
}

branches/snap-stage3/src/libstd/serialize.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ use core::hashmap::{HashMap, HashSet};
2121
use core::trie::{TrieMap, TrieSet};
2222
use deque::Deque;
2323
use dlist::DList;
24-
#[cfg(stage1)]
25-
#[cfg(stage2)]
26-
#[cfg(stage3)]
2724
use treemap::{TreeMap, TreeSet};
2825

2926
pub trait Encoder {
@@ -741,9 +738,6 @@ impl<D: Decoder> Decodable<D> for TrieSet {
741738
}
742739
}
743740

744-
#[cfg(stage1)]
745-
#[cfg(stage2)]
746-
#[cfg(stage3)]
747741
impl<
748742
E: Encoder,
749743
K: Encodable<E> + Eq + TotalOrd,
@@ -761,9 +755,6 @@ impl<
761755
}
762756
}
763757

764-
#[cfg(stage1)]
765-
#[cfg(stage2)]
766-
#[cfg(stage3)]
767758
impl<
768759
D: Decoder,
769760
K: Decodable<D> + Eq + TotalOrd,
@@ -782,9 +773,6 @@ impl<
782773
}
783774
}
784775

785-
#[cfg(stage1)]
786-
#[cfg(stage2)]
787-
#[cfg(stage3)]
788776
impl<
789777
S: Encoder,
790778
T: Encodable<S> + Eq + TotalOrd
@@ -800,9 +788,6 @@ impl<
800788
}
801789
}
802790

803-
#[cfg(stage1)]
804-
#[cfg(stage2)]
805-
#[cfg(stage3)]
806791
impl<
807792
D: Decoder,
808793
T: Decodable<D> + Eq + TotalOrd

branches/snap-stage3/src/libstd/std.rc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ pub mod rope;
7676
pub mod smallintmap;
7777
pub mod sort;
7878
pub mod dlist;
79-
#[cfg(stage1)]
80-
#[cfg(stage2)]
81-
#[cfg(stage3)]
8279
pub mod treemap;
8380

8481
// And ... other stuff

0 commit comments

Comments
 (0)