about summary refs log tree commit diff
path: root/src/comp/driver
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-30 14:57:59 -0700
committerBrian Anderson <andersrb@gmail.com>2011-08-30 21:08:07 -0700
commiteb70267e5e731a5b489aabf0e2214a9c4a264e26 (patch)
treea73565a23afeb2dbd75df30e3be95dfc298f0c00 /src/comp/driver
parent04928ed3f00e82d7d233d2b4d2a63440f098b279 (diff)
downloadrust-eb70267e5e731a5b489aabf0e2214a9c4a264e26.tar.gz
rust-eb70267e5e731a5b489aabf0e2214a9c4a264e26.zip
Convert #env to istrs. Temporarily disable usage in rustc. Issue #855
Diffstat (limited to 'src/comp/driver')
-rw-r--r--src/comp/driver/rustc.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index fffdcc75bf3..75717529791 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -256,7 +256,9 @@ fn pretty_print_input(sess: session::session, cfg: ast::crate_cfg,
 
 fn version(argv0: &istr) {
     let vers = "unknown version";
-    let env_vers = #env["CFG_VERSION"];
+    // FIXME: Restore after istr conversion
+    //let env_vers = #env["CFG_VERSION"];
+    let env_vers = "FIXME";
     if str::byte_len(env_vers) != 0u { vers = env_vers; }
     io::stdout().write_str(
         istr::from_estr(#fmt["%s %s\n",