1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

mktemp: build standalone executable

This commit is contained in:
Joseph Crail 2016-05-22 16:05:10 -04:00
parent b50fc88ead
commit b132f65126
2 changed files with 9 additions and 0 deletions

View file

@ -13,3 +13,7 @@ getopts = "*"
libc = "*"
rand = "0.3"
tempfile = "*"
[[bin]]
name = "mktemp"
path = "main.rs"

5
src/mktemp/main.rs Normal file
View file

@ -0,0 +1,5 @@
extern crate uu_mktemp;
fn main() {
std::process::exit(uu_mktemp::uumain(std::env::args().collect()));
}