Nathan Ross
502957dc3e
use cargo idioms to manage dependency resolution and compilation
2015-11-23 02:04:15 -05:00
Joseph Crail
b4b08de42c
Switch to external getopts cargo (part 1).
...
I switched over to the getopts crate on crates.io, instead of Rust's
private implementation. This will allow coreutils to build for Rust 1.0.
I'm splitting the updates into several commits for better reviewing.
2015-05-20 22:47:30 -04:00
Joseph Crail
7d1d307b92
Replace unstable set_exit_status() with exit().
...
With the 1.0 release, unstable features are causing build errors. I
replaced references to std::env::set_exit_status() with
std::process::exit().
2015-05-18 21:22:51 -04:00
Joseph Crail
1837146134
Update hashsum.
...
Most of the work centered around fixing lifetime issues.
2015-05-16 13:28:36 -04:00
kwantam
ecf248c5e3
fix build infrastructure ; modernize library use
...
This patch begins the work of modernizing uutils to work with 1.0-ish
Rust. In particular, it
1. Updates to the latest submodules.
2. Convert mkmain.rs, mkuutils.rs, and src/uutils/uutils.rs
to new slice syntax and use of new io, fs, and path APIs.
3. Convert src/common/util.rs to new io, fs, and path APIs.
4. Convert fmt to use new APIs.
2015-04-18 19:55:32 -04:00
Michael Gehring
3529c5d809
Update feature flags
2015-03-08 19:09:41 +01:00
Michael Gehring
9ae9a48387
feature io -> old_io, path -> old_path
2015-02-22 13:59:12 +01:00
Michael Gehring
4e79a82f46
fix feature warnings
2015-02-22 13:59:12 +01:00
Michael Gehring
50301e63ee
env::args return Strings now
2015-02-22 13:59:12 +01:00
Michael Gehring
ec9c8659ea
Drop unused imports
2015-02-22 13:59:12 +01:00
Michael Gehring
910fd61070
os::args -> env::args
2015-02-22 13:59:12 +01:00
Michael Gehring
e7b647171f
os::set_exit_status(isize) -> env::set_exit_status(i32)
2015-02-22 13:59:12 +01:00
Michael Gehring
3eb5a814a3
Fix most unstable feature warnings
2015-02-03 23:54:37 +01:00
Michael Gehring
4d6cbfa393
Disable unstable warnings for now
2015-01-10 20:44:56 +01:00
Michael Gehring
782fad4667
int/uint -> isize/usize
2015-01-10 20:40:37 +01:00
Arcterus
d50d4f54b9
Fix build as well as most deprecation warnings
2014-11-22 13:00:42 -08:00
Michael Gehring
241c8d0f55
Update collection paths/names
2014-11-04 07:30:39 +01:00
Michael Gehring
476bdcd9d2
head, tail, uutils: fix build
2014-11-02 16:56:00 +01:00
Michael Gehring
ac77c6da17
Fix deprecation warnings
2014-07-29 08:52:58 +02:00
Arcterus
e80af55700
Fix more bugs to pass Busybox tests
2014-07-24 22:20:03 -07:00
Arcterus
b7f4bd01bc
Move all of the utils into src
2014-07-20 20:20:55 -07:00