Skip to content

Commit eec53c3

Browse files
committed
---
yaml --- r: 4755 b: refs/heads/master c: 7bd0437 h: refs/heads/master i: 4753: 4f31ddf 4751: 4e97c3c v: v3
1 parent 23b788d commit eec53c3

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: d8c5bd61956924e041be240cff9458141ca74187
2+
refs/heads/master: 7bd0437b08a198a098025271103321b921d60645

trunk/src/comp/driver/rustc.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,12 +437,11 @@ fn opts() -> [getopts::opt] {
437437
optflag("lib"), optflag("static"), optflag("gc")];
438438
}
439439

440-
fn main(args: vec<str>) {
441-
let args_ivec = vec::from_vec(args);
442-
let binary = vec::shift(args_ivec);
440+
fn main(args: [str]) {
441+
let binary = vec::shift(args);
443442
let binary_dir = fs::dirname(binary);
444443
let match =
445-
alt getopts::getopts(args_ivec, opts()) {
444+
alt getopts::getopts(args, opts()) {
446445
getopts::success(m) { m }
447446
getopts::failure(f) {
448447
log_err #fmt("error: %s", getopts::fail_str(f));

0 commit comments

Comments
 (0)