mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
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.
This commit is contained in:
parent
e526de0079
commit
ecf248c5e3
13 changed files with 102 additions and 109 deletions
2
Makefile
2
Makefile
|
@ -259,7 +259,7 @@ $(BUILDDIR)/stdbuf: $(BUILDDIR)/libstdbuf.$(DYLIB_EXT)
|
|||
$(BUILDDIR)/.rust-crypto: | $(BUILDDIR)
|
||||
cd $(BASEDIR)/deps/rust-crypto && $(CARGO) build --release
|
||||
cp -r $(BASEDIR)/deps/rust-crypto/target/release/deps/librand*.rlib $(BUILDDIR)/librand.rlib
|
||||
cp -r $(BASEDIR)/deps/rust-crypto/target/release/deps/librustc-serialize*.rlib $(BUILDDIR)/librustc-serialize.rlib
|
||||
cp -r $(BASEDIR)/deps/rust-crypto/target/release/deps/librustc_serialize*.rlib $(BUILDDIR)/librustc-serialize.rlib
|
||||
cp -r $(BASEDIR)/deps/rust-crypto/target/release/deps/libtime*.rlib $(BUILDDIR)/libtime.rlib
|
||||
cp -r $(BASEDIR)/deps/rust-crypto/target/release/deps/liblibc*.rlib $(BUILDDIR)/liblibc.rlib
|
||||
cp -r $(BASEDIR)/deps/rust-crypto/target/release/libcrypto*.rlib $(BUILDDIR)/libcrypto.rlib
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue