fix feature warnings

This commit is contained in:
Michael Gehring 2015-02-13 21:12:44 +01:00
parent 50301e63ee
commit 4e79a82f46
7 changed files with 7 additions and 8 deletions

View file

@ -1,10 +1,10 @@
#![feature(core, env, io, os, path)]
#![feature(core, env, io, path)]
use std::env;
use std::old_io::{File, Truncate, ReadWrite};
use std::old_path::Path;
static TEMPLATE: &'static str = "\
#![feature(env, os)]
#![feature(env)]
extern crate \"@UTIL_CRATE@\" as uu@UTIL_CRATE@;
use std::env;

View file

@ -1,4 +1,4 @@
#![feature(core, env, io, os, path)]
#![feature(core, env, io, path)]
use std::env;
use std::old_io::{File, Truncate, Write};

View file

@ -1,5 +1,5 @@
#![crate_name = "mkfifo"]
#![feature(collections, core, rustc_private, std_misc)]
#![feature(collections, core, os, rustc_private, std_misc)]
/*
* This file is part of the uutils coreutils package.

View file

@ -1,5 +1,5 @@
#![crate_name = "nice"]
#![feature(collections, core, os, rustc_private, std_misc)]
#![feature(collections, core, io, os, rustc_private, std_misc)]
/*
* This file is part of the uutils coreutils package.

View file

@ -1,6 +1,6 @@
#![crate_name = "libstdbuf"]
#![crate_type = "staticlib"]
#![feature(core, os)]
#![feature(core, libc, os)]
extern crate libc;
use libc::{c_int, size_t, c_char, FILE, _IOFBF, _IONBF, _IOLBF, setvbuf};

View file

@ -16,7 +16,6 @@ extern crate getopts;
use std::old_io::{println, stdin, stdout, Append, File, Truncate, Write};
use std::old_io::{IoResult};
use std::old_io::util::{copy, NullWriter, MultiWriter};
use std::os;
use getopts::{getopts, optflag, usage};
static NAME: &'static str = "tee";

View file

@ -1,5 +1,5 @@
#![crate_name = "uutils"]
#![feature(core, env, os, path, rustc_private)]
#![feature(core, env, path, rustc_private)]
/*
* This file is part of the uutils coreutils package.