Nathan Ross
502957dc3e
use cargo idioms to manage dependency resolution and compilation
2015-11-23 02:04:15 -05:00
Nathan Ross
b20b2cca19
update uses of libc 0.1.x and deprecated stdlib uses
2015-11-23 02:04:15 -05:00
Carlos Liam
87d14978e9
Clean whitespace
...
Remove leading newlines and replace lines containing only whitespace
with empty lines
2015-10-06 12:04:46 -04:00
Michael Gehring
9d8abbcb06
Basic Cargo build
...
Builds the uutils multicall binary containing all utils (except stdbuf)
by default. To only build a subset
`cargo --no-default-features --features <utils>`
can be used.
Whats missing is building the standalone binaries and a mechanism to
automatically disable the build of unix only utils on windows.
2015-08-28 21:12:30 +02:00
Joseph Crail
f03b22a65c
Stabilize several PathExt methods.
2015-07-31 16:21:06 -04:00
Joseph Crail
28e00cbd78
Standardize display of utility name and version.
2015-05-25 14:50:15 -04:00
Joseph Crail
2ef14832dc
Replace UTF-8 ellipsis character w/ ASCII periods.
2015-05-23 01:56:33 -04: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
kwantam
05520e69cb
clean up #![features]
...
For the most part, this commit removes the `collections` feature.
In some places I've removed other features where the effort to do
so was pretty low.
2015-04-27 15:27:15 -04:00
kwantam
970857ccbe
working chroot implementation
2015-04-27 00:06:12 -04:00
kwantam
664f7d474e
update chroot (not quite working yet)
2015-04-26 16:12:19 -04:00
Camille TJHOA
c8365f78b4
chroot new_io
2015-04-26 20:23:29 +02:00
Michael Gehring
a5547507af
c_str_to_bytes -> CStr::from_ptr
2015-02-22 13:59:57 +01:00
Michael Gehring
eb6594cc91
CString::from_slice -> CString::new
2015-02-22 13:59:57 +01:00
Michael Gehring
9ae9a48387
feature io -> old_io, path -> old_path
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
80f9ef08d2
various integer type changes
2015-02-22 10:27:16 +01:00
Michael Gehring
09b1162912
CString::as_slice_with_nul -> CString::as_bytes_with_nul
2015-02-22 10:06:26 +01:00
Michael Gehring
d3ff46d0c7
Drop deprecated 'libc' feature flag
2015-02-06 14:10:07 +01:00
Michael Gehring
3eb5a814a3
Fix most unstable feature warnings
2015-02-03 23:54:37 +01:00
Michael Gehring
d187dc574b
std::io -> std::old_io
2015-01-29 08:45:37 +01:00
Michael Gehring
fbdf04c072
Replace deprecated slice_{to,from} with slicing syntax
2015-01-24 10:46:28 +01:00
Michael Gehring
4d6cbfa393
Disable unstable warnings for now
2015-01-10 20:44:56 +01:00
Arcterus
a12fd89cb2
chmod, chroot, comm: fix build
2015-01-09 16:51:51 -08:00
Michael Gehring
0a757b957f
Partially fixed build with rust master
...
String::from_raw_buf removal
Deprecated closure syntax
cmp::Ord -> cmp::Ordering
Vec::from_{elem,fn} removal
rand::TaskRng -> rand::ThreadRng
PtrExt::is_not_null removal
to_c_str removal
2015-01-09 09:41:49 +01:00
Michael Gehring
1b381f49fa
Use new macro feature flags/attributes
2015-01-08 14:50:02 +01:00
Arcterus
31111ac199
Fix most deprecation warnings and remove hacky nohup code
2014-11-28 14:49:22 -08:00
Michael Gehring
cb4b5bce29
Remove now invalid format specifiers
2014-11-22 07:30:18 +01:00
Michael Gehring
fd2b464a6d
std::os changes
2014-11-19 21:58:16 +01:00
Michael Gehring
09f223fdb1
Update for new coercion rules
2014-11-19 21:58:16 +01:00
Michael Gehring
7eefe7003b
Update to the new cfg syntax
2014-10-02 19:55:06 +02:00
Michael Gehring
78c6d0b383
FreeBSD support
2014-09-23 15:40:31 +02:00
Arcterus
01c681ecb3
Update for latest Rust
2014-09-16 19:10:27 -07:00
Michael Gehring
f9e99c0c26
Fix non_snake_case warnings
2014-09-02 09:49:39 +02:00
Michael Gehring
ac77c6da17
Fix deprecation warnings
2014-07-29 08:52:58 +02:00
Arcterus
b7f4bd01bc
Move all of the utils into src
2014-07-20 20:20:55 -07:00