From 13439dc87054bdcbdbe118f375e5addf5dcd78c8 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 11 Aug 2011 22:31:45 -0700 Subject: Convert std::run to ivecs --- src/comp/driver/rustc.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/comp') diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs index 05fda86a0f1..1dc83ca74cd 100644 --- a/src/comp/driver/rustc.rs +++ b/src/comp/driver/rustc.rs @@ -623,7 +623,7 @@ fn main(args: vec[str]) { } // We run 'gcc' here - let err_code = run::run_program(prog, ivec::to_vec(gcc_args)); + let err_code = run::run_program(prog, gcc_args); if 0 != err_code { sess.err(#fmt("linking with gcc failed with code %d", err_code)); sess.note(#fmt("gcc arguments: %s", @@ -633,13 +633,13 @@ fn main(args: vec[str]) { // Clean up on Darwin if sess.get_targ_cfg().os == session::os_macos { - run::run_program("dsymutil", [saved_out_filename]); + run::run_program("dsymutil", ~[saved_out_filename]); } // Remove the temporary object file if we aren't saving temps if !sopts.save_temps { - run::run_program("rm", [saved_out_filename + ".o"]); + run::run_program("rm", ~[saved_out_filename + ".o"]); } } -- cgit 1.4.1-3-g733a5