File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
branches/try2/src/test/run-make/unicode-input Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 35f2da4063bbf2e6e945fdce547b6855ef061b15
8
+ refs/heads/try2: 7d85546721cf954606a2fe25a63e9fb9e8a256ad
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- use std:: { char, os, run , str} ;
11
+ use std:: { char, os, str} ;
12
12
use std:: rand:: { task_rng, Rng } ;
13
- use std:: io:: File ;
13
+ use std:: io:: { File , Process } ;
14
14
15
15
// creates unicode_input_multiple_files_{main,chars}.rs, where the
16
16
// former imports the latter. `_chars` just contains an indentifier
@@ -55,7 +55,7 @@ fn main() {
55
55
56
56
// rustc is passed to us with --out-dir and -L etc., so we
57
57
// can't exec it directly
58
- let result = run :: process_output ( "sh" , [ ~"-c", rustc + " " + main_file_str] ) . unwrap ( ) ;
58
+ let result = Process :: output ( "sh" , [ ~"-c", rustc + " " + main_file_str] ) . unwrap ( ) ;
59
59
let err = str:: from_utf8_lossy ( result. error ) ;
60
60
61
61
// positive test so that this test will be updated when the
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- use std:: { char, os, run , str} ;
11
+ use std:: { char, os, str} ;
12
12
use std:: rand:: { task_rng, Rng } ;
13
- use std:: io:: File ;
13
+ use std:: io:: { File , Process } ;
14
14
15
15
// creates a file with `fn main() { <random ident> }` and checks the
16
16
// compiler emits a span of the appropriate length (for the
@@ -51,7 +51,7 @@ fn main() {
51
51
52
52
// rustc is passed to us with --out-dir and -L etc., so we
53
53
// can't exec it directly
54
- let result = run :: process_output ( "sh" , [ ~"-c", rustc + " " + main_file_str] ) . unwrap ( ) ;
54
+ let result = Process :: output ( "sh" , [ ~"-c", rustc + " " + main_file_str] ) . unwrap ( ) ;
55
55
56
56
let err = str:: from_utf8_lossy ( result. error ) ;
57
57
You can’t perform that action at this time.
0 commit comments