mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
mktemp: build standalone executable
This commit is contained in:
parent
b50fc88ead
commit
b132f65126
2 changed files with 9 additions and 0 deletions
|
@ -13,3 +13,7 @@ getopts = "*"
|
|||
libc = "*"
|
||||
rand = "0.3"
|
||||
tempfile = "*"
|
||||
|
||||
[[bin]]
|
||||
name = "mktemp"
|
||||
path = "main.rs"
|
||||
|
|
5
src/mktemp/main.rs
Normal file
5
src/mktemp/main.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
extern crate uu_mktemp;
|
||||
|
||||
fn main() {
|
||||
std::process::exit(uu_mktemp::uumain(std::env::args().collect()));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue