File tree Expand file tree Collapse file tree 7 files changed +169
-221
lines changed Expand file tree Collapse file tree 7 files changed +169
-221
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 8bf9fc52f405f2a825cbf2692d872e9e710999b5
4
+ refs/heads/snap-stage3: d70f0f1a6e9ae3e2a998c60f4e2843507260f839
5
5
refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -176,7 +176,6 @@ pub mod from_str;
176
176
#[path = "num/num.rs"]
177
177
pub mod num;
178
178
pub mod iter;
179
- pub mod iterator;
180
179
pub mod to_str;
181
180
pub mod to_bytes;
182
181
pub mod clone;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ static commands: &'static [Command<'static>] = &[
67
67
usage_line: "build an executable, and run it",
68
68
usage_full: UsgStr(
69
69
"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>...] "
72
72
)
73
73
},
74
74
Command{
@@ -169,14 +169,14 @@ fn cmd_test(args: &[~str]) -> ValidUsage {
169
169
170
170
fn cmd_run(args: &[~str]) -> ValidUsage {
171
171
match args {
172
- [filename] => {
172
+ [filename, ..prog_args ] => {
173
173
let exec = Path(filename).filestem().unwrap() + "~";
174
174
if run::run_program("rustc", [
175
175
filename.to_owned(),
176
176
~"-o",
177
177
exec.to_owned()
178
178
]) == 0 {
179
- run::run_program(~"./"+exec, [] );
179
+ run::run_program(~"./"+exec, prog_args );
180
180
}
181
181
Valid
182
182
}
Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ use core::hashmap::{HashMap, HashSet};
21
21
use core:: trie:: { TrieMap , TrieSet } ;
22
22
use deque:: Deque ;
23
23
use dlist:: DList ;
24
- #[ cfg( stage1) ]
25
- #[ cfg( stage2) ]
26
- #[ cfg( stage3) ]
27
24
use treemap:: { TreeMap , TreeSet } ;
28
25
29
26
pub trait Encoder {
@@ -741,9 +738,6 @@ impl<D: Decoder> Decodable<D> for TrieSet {
741
738
}
742
739
}
743
740
744
- #[ cfg( stage1) ]
745
- #[ cfg( stage2) ]
746
- #[ cfg( stage3) ]
747
741
impl <
748
742
E : Encoder ,
749
743
K : Encodable < E > + Eq + TotalOrd ,
@@ -761,9 +755,6 @@ impl<
761
755
}
762
756
}
763
757
764
- #[ cfg( stage1) ]
765
- #[ cfg( stage2) ]
766
- #[ cfg( stage3) ]
767
758
impl <
768
759
D : Decoder ,
769
760
K : Decodable < D > + Eq + TotalOrd ,
@@ -782,9 +773,6 @@ impl<
782
773
}
783
774
}
784
775
785
- #[ cfg( stage1) ]
786
- #[ cfg( stage2) ]
787
- #[ cfg( stage3) ]
788
776
impl <
789
777
S : Encoder ,
790
778
T : Encodable < S > + Eq + TotalOrd
@@ -800,9 +788,6 @@ impl<
800
788
}
801
789
}
802
790
803
- #[ cfg( stage1) ]
804
- #[ cfg( stage2) ]
805
- #[ cfg( stage3) ]
806
791
impl <
807
792
D : Decoder ,
808
793
T : Decodable < D > + Eq + TotalOrd
Original file line number Diff line number Diff line change @@ -76,9 +76,6 @@ pub mod rope;
76
76
pub mod smallintmap;
77
77
pub mod sort;
78
78
pub mod dlist;
79
- #[cfg(stage1)]
80
- #[cfg(stage2)]
81
- #[cfg(stage3)]
82
79
pub mod treemap;
83
80
84
81
// And ... other stuff
You can’t perform that action at this time.
0 commit comments