kwantam
970857ccbe
working chroot implementation
2015-04-27 00:06:12 -04:00
Heather
0de3e06d46
Merge pull request #545 from kwantam/master
...
quick Makefile tweak ; update chmod ; update chroot
2015-04-26 23:37:28 +03:00
kwantam
664f7d474e
update chroot (not quite working yet)
2015-04-26 16:12:19 -04:00
kwantam
06f1b38c91
update chmod for latest stdlib changes
2015-04-26 16:12:19 -04:00
kwantam
d54ee9689d
do not consider deps for EXESs when making goal "test"
...
In the normal case, one does, e.g.,
make TEST="cat" test
This means that the value of EXES in the Makefile contains all
possible targets, which means many prerequisites that aren't
required get built.
With this change, when the `test` target is in effect (and,
in particular, *only* the test target), then the value of
EXES is ignored when calculating dependencies. Otherwise,
the values of EXES and TESTS are both considered.
2015-04-26 16:12:19 -04:00
Heather
4727cc59d9
Merge pull request #544 from ctjhoa/new_io
...
chmod + chroot new io
2015-04-26 21:32:16 +03:00
Camille TJHOA
c8365f78b4
chroot new_io
2015-04-26 20:23:29 +02:00
Camille TJHOA
d990efff83
chmod new_io
2015-04-26 20:03:37 +02:00
Alex Lyon
c24b14e0a0
Merge pull request #543 from kwantam/master
...
refactor Makefile to use Cargo to build all dependencies; make seq build
2015-04-25 19:23:01 -07: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
kwantam
c6585b7086
make seq build on nightly
2015-04-25 22:09:06 -04:00
Heather
b81a751ebd
Merge pull request #542 from kwantam/master
...
update cat, cat tests to new API
2015-04-25 16:28:05 +03:00
kwantam
cc48e83e98
update cat, cat tests to new API
...
This commit updates the `cat` utility as well as its testbench
to work with the latest APIs.
2015-04-25 03:28:06 -04:00
Heather
5b34d19a83
Merge pull request #541 from jbcrail/fix-echo
...
Upgrade echo to use recent Rust nightly build.
2015-04-25 07:50:27 +03:00
Joseph Crail
7c0eb246a0
Upgrade echo to use recent Rust nightly build.
...
I removed unused features, switched to the new range syntax, and other
minor updates.
2015-04-24 22:31:47 -04:00
Heather
6dae577844
Merge pull request #539 from ctjhoa/new_io
...
Cksum + basename new io
2015-04-24 07:05:34 +03:00
Camille TJHOA
7332d7d827
Basename new_io
2015-04-24 00:10:18 +02:00
Camille TJHOA
a7caf3c86a
Cksum new_io
2015-04-23 23:52:45 +02:00
Heather
f7a95688ed
Merge pull request #538 from jbcrail/update-base64
...
Upgrade base64 to use recent Rust nightly build.
2015-04-23 09:28:40 +03:00
Heather
4a5cab9991
Merge pull request #537 from jbcrail/fix-build-serialize
...
Fix broken build for serialize crate.
2015-04-23 09:28:24 +03:00
Joseph Crail
92bbd7b2ce
Upgrade base64 to use recent Rust nightly build.
2015-04-23 01:03:35 -04:00
Joseph Crail
023780ea37
Fix broken build for serialize crate.
...
After building the serialize crate, the rlib was copied to the build
directory using a hyphen in the library name ('librustc-serialize').
It seems that Rust expects an underscore instead.
2015-04-23 00:56:11 -04:00
Heather
424923da94
Merge pull request #536 from kwantam/new_io
...
fix build infrastructure ; modernize library use
2015-04-19 09:33:28 +03: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
Heather
e526de0079
Merge pull request #532 from ebfe/fix-build
...
Fix build with rust nightly
2015-03-08 22:14:44 +03:00
Michael Gehring
3529c5d809
Update feature flags
2015-03-08 19:09:41 +01:00
Michael Gehring
9f8fd55b4a
Integer type changes
2015-03-08 19:06:30 +01:00
Michael Gehring
bce3382fd2
Closure syntax
2015-03-08 19:06:04 +01:00
Michael Gehring
0d7ac019d1
Update dependencies
2015-03-08 18:45:13 +01:00
Heather
34161ba8c5
Merge pull request #525 from ebfe/fix-warnings
...
Fix (some) deprecation warnings
2015-02-22 22:08:22 +03: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
3993a2bf90
Update feature flags
2015-02-22 13:59:57 +01:00
Michael Gehring
26568d2021
Update to the new integer suffixes
2015-02-22 13:59:57 +01:00
Michael Gehring
8098d172d7
Update slicing syntax ([] -> [..])
2015-02-22 13:59:12 +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
Heather
19bb2e1ccd
Merge pull request #530 from ebfe/fix-build
...
Fix build with alpha 2
2015-02-22 13:25:01 +03:00
Michael Gehring
4d62e8289a
collections::BitvSet -> collections::BitSet
2015-02-22 10:31:49 +01:00
Michael Gehring
b6ff2aeeae
collections::RingBuf -> collections::VecDeque
2015-02-22 10:29:28 +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
4ad3e854ac
Update dependencies
2015-02-22 09:52:54 +01:00
Heather
b843b5fec4
Merge pull request #528 from ebfe/fix-build
...
Fix build with rust master
2015-02-13 20:58:45 +03:00
Michael Gehring
e78900e56a
new plugin attribute syntax
2015-02-13 16:45:01 +01:00
Heather
c8607e79ff
Merge pull request #526 from ebfe/fix-build
...
Fix build with rust nightly
2015-02-07 15:58:42 +03:00