Fix warnings in rust-task_info.

This commit is contained in:
Ms2ger 2015-02-13 14:56:31 +01:00
parent d931617449
commit 68c06f9d31

View file

@ -2,13 +2,14 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#![feature(env)]
#![feature(io)]
use std::old_io::process::{Command, ProcessExit, StdioContainer};
use std::os;
use std::env;
fn main() {
let out_dir = os::getenv("OUT_DIR").unwrap();
let out_dir = env::var_string("OUT_DIR").unwrap();
let result = Command::new("make")
.args(&["-f", "makefile.cargo"])
.stdout(StdioContainer::InheritFd(1))