mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix warnings in rust-task_info.
This commit is contained in:
parent
d931617449
commit
68c06f9d31
1 changed files with 3 additions and 2 deletions
|
@ -2,13 +2,14 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
|
#![feature(env)]
|
||||||
#![feature(io)]
|
#![feature(io)]
|
||||||
|
|
||||||
use std::old_io::process::{Command, ProcessExit, StdioContainer};
|
use std::old_io::process::{Command, ProcessExit, StdioContainer};
|
||||||
use std::os;
|
use std::env;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let out_dir = os::getenv("OUT_DIR").unwrap();
|
let out_dir = env::var_string("OUT_DIR").unwrap();
|
||||||
let result = Command::new("make")
|
let result = Command::new("make")
|
||||||
.args(&["-f", "makefile.cargo"])
|
.args(&["-f", "makefile.cargo"])
|
||||||
.stdout(StdioContainer::InheritFd(1))
|
.stdout(StdioContainer::InheritFd(1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue