mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
Use #env to get the rustc version again. Issue #855
This commit is contained in:
@@ -257,9 +257,7 @@ fn ann_identified_post(node: &pprust::ann_node) {
|
||||
|
||||
fn version(argv0: &istr) {
|
||||
let vers = ~"unknown version";
|
||||
// FIXME: Restore after istr conversion
|
||||
//let env_vers = #env["CFG_VERSION"];
|
||||
let env_vers = ~"FIXME";
|
||||
let env_vers = #env["CFG_VERSION"];
|
||||
if str::byte_len(env_vers) != 0u { vers = env_vers; }
|
||||
io::stdout().write_str(
|
||||
#ifmt["%s %s\n",
|
||||
|
||||
Reference in New Issue
Block a user