Joseph Crail
1c405d9c91
Remove duplicate header in error messages.
2015-05-28 23:23:54 -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
d1f594eb68
remove box_syntax feature from fmt
, base64
, cat
2015-04-29 01:09:26 -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
d4f39e1638
dependency builds use Cargo
...
With this change, individual submodules can specify their dependencies with
an additional file called "deps.mk" in the subdir. When building, only
the dependencies that are necessary are built, using cargo, and then linked.
This greatly simplifies adding new dependencies: add the package in
deps/Cargo.toml, and add the appropriate line in "deps.mk" in the
src/utilname/ directory, and the dependency will be built automatically
as needed.
This also removes the need to use git submodules.
2015-04-25 22:18:03 -04:00
Joseph Crail
92bbd7b2ce
Upgrade base64 to use recent Rust nightly build.
2015-04-23 01:03:35 -04:00
Michael Gehring
3993a2bf90
Update feature flags
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
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
d89d9ca73b
Various functions in std::str return Result instead of Option now
2015-02-03 22:32:30 +01:00
Michael Gehring
906d3e4ec5
write -> write_all
2015-01-29 08:47:43 +01:00
Michael Gehring
d187dc574b
std::io -> std::old_io
2015-01-29 08:45:37 +01:00
Michael Gehring
cb1dd390bb
base64, cp: fix build
2015-01-24 03:56:37 +01:00
Michael Gehring
4d6cbfa393
Disable unstable warnings for now
2015-01-10 20:44:56 +01:00
Arcterus
4e0360c495
base64, cat: fix build for Rust alpha
2015-01-09 16:16:05 -08:00
Michael Gehring
b50a2639a9
base64, du, realpath: fix build
2015-01-10 00:13:16 +01:00
Michael Gehring
1b381f49fa
Use new macro feature flags/attributes
2015-01-08 14:50:02 +01:00
Stephan Jaensch
605c107258
Fix deprecation warnings with latest rust nightly
...
- from_str() -> parse()
- into_string() -> to_owned()
2015-01-01 12:14:28 +01:00
Florian Hahn
aff936da99
Update for recent std::ascii changes
2014-12-30 20:11:06 +01:00
Arcterus
b8d67ea672
Update for latest Rust
2014-12-15 15:45:31 -08:00
Michael Gehring
842cc8b14c
Fix build with rust master
2014-12-11 07:51:37 +01:00
Arcterus
3f90b75ffc
base64: don't try to remove LF when decoding
2014-12-06 16:35:32 -08:00
Arcterus
9b638d99a7
base64: fix build (assuming rust-lang/rust#19594 is merged)
2014-12-06 10:59:56 -08: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
09f223fdb1
Update for new coercion rules
2014-11-19 21:58:16 +01:00
Michael Gehring
cd409c6d3f
Update for namespaced enums
2014-11-19 21:58:16 +01:00
Michael Gehring
3244416b19
fail! -> panic!
2014-10-30 10:06:47 +01:00
Michael Gehring
861baaf584
'final' is a keyword now
2014-10-10 18:36:15 +02:00
Arcterus
b7f4bd01bc
Move all of the utils into src
2014-07-20 20:20:55 -07:00