mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 01:38:04 +00:00
fix feature warnings
This commit is contained in:
parent
50301e63ee
commit
4e79a82f46
7 changed files with 7 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue