about summary refs log tree commit diff
path: root/src/comp/driver
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-25 21:04:04 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-27 15:54:44 -0700
commita58bfced3cdb8e4eccbee9c5f9494ab1929d3720 (patch)
treef8a15d86f317b51c676d34c78b35f7dd9d630241 /src/comp/driver
parent9c9c5c9054c2680a68c47f0bd9d80625b0906507 (diff)
downloadrust-a58bfced3cdb8e4eccbee9c5f9494ab1929d3720.tar.gz
rust-a58bfced3cdb8e4eccbee9c5f9494ab1929d3720.zip
Convert back::link to istrs. Issue #855
Diffstat (limited to 'src/comp/driver')
-rw-r--r--src/comp/driver/rustc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index 18ff0559624..be7e06d0460 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -169,7 +169,7 @@ fn compile_input(sess: session::session, cfg: ast::crate_cfg, input: str,
                      bind trans::trans_crate(sess, crate, ty_cx, output,
                                              ast_map, mut_map));
     time(time_passes, "LLVM passes",
-         bind link::write::run_passes(sess, llmod, output));
+         bind link::write::run_passes(sess, llmod, istr::from_estr(output)));
 }
 
 fn pretty_print_input(sess: session::session, cfg: ast::crate_cfg, input: str,