mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
Update to Rust nightly
This commit is contained in:
parent
8f56befded
commit
ce19eb4329
2 changed files with 2 additions and 4 deletions
3
du/du.rs
3
du/du.rs
|
@ -14,15 +14,14 @@
|
||||||
|
|
||||||
extern crate getopts;
|
extern crate getopts;
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate sync;
|
|
||||||
extern crate time;
|
extern crate time;
|
||||||
|
|
||||||
use std::os;
|
use std::os;
|
||||||
use std::io::{stderr, fs, FileStat, TypeDirectory};
|
use std::io::{stderr, fs, FileStat, TypeDirectory};
|
||||||
use std::option::Option;
|
use std::option::Option;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
use std::sync::{Arc, Future};
|
||||||
use time::Timespec;
|
use time::Timespec;
|
||||||
use sync::{Arc, Future};
|
|
||||||
|
|
||||||
#[path = "../common/util.rs"]
|
#[path = "../common/util.rs"]
|
||||||
mod util;
|
mod util;
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern crate collections;
|
|
||||||
extern crate getopts;
|
extern crate getopts;
|
||||||
|
|
||||||
extern crate base64;
|
extern crate base64;
|
||||||
|
@ -54,7 +53,7 @@ extern crate whoami;
|
||||||
extern crate yes;
|
extern crate yes;
|
||||||
|
|
||||||
use std::os;
|
use std::os;
|
||||||
use collections::hashmap::HashMap;
|
use std::collections::hashmap::HashMap;
|
||||||
|
|
||||||
static NAME: &'static str = "uutils";
|
static NAME: &'static str = "uutils";
|
||||||
static VERSION: &'static str = "1.0.0";
|
static VERSION: &'static str = "1.0.0";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue