From c2882da2e7f1b764c1e2a78af76dd6ba1269e7bd Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 29 Nov 2016 10:43:27 -0500 Subject: [PATCH 1/2] mktemp, nproc, ptx, and uniq compilable on Fuchsia now. --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 752439f51..51ad33ff1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -86,12 +86,15 @@ fuchsia = [ "link", "ln", "mkdir", + "mktemp", "mv", "nl", + "nproc", "od", "paste", "printenv", "printf", + "ptx", "pwd", "readlink", "realpath", @@ -115,6 +118,7 @@ fuchsia = [ "truncate", "tsort", "unexpand", + "uniq", "wc", "whoami", "yes", From 55470e17b505e02f009c753dd8e8a0f0b1d639bb Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 30 Nov 2016 10:57:47 -0500 Subject: [PATCH 2/2] cat no longer need extern crate libc anymore. --- Cargo.lock | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index d0ad4be1e..585f7fc3b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -184,7 +184,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" name = "cat" version = "0.0.1" dependencies = [ - "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "uucore 0.0.1", ]