From 4d6cbfa39367db09f7b2dced4eddea798ae11316 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 10 Jan 2015 20:31:55 +0100 Subject: [PATCH] Disable unstable warnings for now --- mkmain.rs | 3 +++ mkuutils.rs | 2 ++ src/base64/base64.rs | 1 + src/basename/basename.rs | 1 + src/cat/cat.rs | 2 ++ src/chmod/chmod.rs | 1 + src/chroot/chroot.rs | 2 ++ src/cksum/cksum.rs | 1 + src/comm/comm.rs | 1 + src/cp/cp.rs | 1 + src/cut/cut.rs | 1 + src/dirname/dirname.rs | 1 + src/du/du.rs | 1 + src/echo/echo.rs | 1 + src/env/env.rs | 1 + src/expand/expand.rs | 1 + src/factor/factor.rs | 1 + src/false/false.rs | 1 + src/fmt/fmt.rs | 2 ++ src/fold/fold.rs | 1 + src/groups/groups.rs | 2 ++ src/hashsum/hashsum.rs | 1 + src/head/head.rs | 2 ++ src/hostid/hostid.rs | 1 + src/hostname/hostname.rs | 2 ++ src/id/id.rs | 1 + src/kill/kill.rs | 1 + src/link/link.rs | 1 + src/logname/logname.rs | 1 + src/mkdir/mkdir.rs | 1 + src/mkfifo/mkfifo.rs | 1 + src/mv/mv.rs | 1 + src/nice/nice.rs | 1 + src/nl/nl.rs | 2 ++ src/nohup/nohup.rs | 1 + src/nproc/nproc.rs | 1 + src/paste/paste.rs | 1 + src/printenv/printenv.rs | 1 + src/pwd/pwd.rs | 1 + src/realpath/realpath.rs | 1 + src/relpath/relpath.rs | 1 + src/rm/rm.rs | 1 + src/rmdir/rmdir.rs | 1 + src/seq/seq.rs | 1 + src/shuf/shuf.rs | 1 + src/sleep/sleep.rs | 1 + src/sort/sort.rs | 1 + src/split/split.rs | 1 + src/sum/sum.rs | 1 + src/sync/sync.rs | 2 ++ src/tac/tac.rs | 1 + src/tail/tail.rs | 2 ++ src/tee/tee.rs | 2 ++ src/test/test.rs | 1 + src/timeout/timeout.rs | 1 + src/touch/touch.rs | 1 + src/tr/tr.rs | 1 + src/true/true.rs | 1 + src/truncate/truncate.rs | 1 + src/tsort/tsort.rs | 1 + src/tty/tty.rs | 2 +- src/uname/uname.rs | 1 + src/unexpand/unexpand.rs | 1 + src/uniq/uniq.rs | 2 ++ src/unlink/unlink.rs | 1 + src/uptime/uptime.rs | 1 + src/users/users.rs | 1 + src/uutils/uutils.rs | 1 + src/wc/wc.rs | 1 + src/whoami/whoami.rs | 1 + src/yes/yes.rs | 1 + test/cat.rs | 2 ++ test/cp.rs | 2 ++ test/mkdir.rs | 2 ++ test/mv.rs | 2 ++ test/nl.rs | 2 ++ test/seq.rs | 2 ++ test/sort.rs | 2 ++ test/test.rs | 2 ++ test/tr.rs | 2 ++ test/truncate.rs | 2 ++ test/unexpand.rs | 2 ++ 82 files changed, 107 insertions(+), 1 deletion(-) diff --git a/mkmain.rs b/mkmain.rs index 34a0abbad..54efa3654 100644 --- a/mkmain.rs +++ b/mkmain.rs @@ -1,8 +1,11 @@ +#![allow(unstable)] + use std::io::{File, Truncate, ReadWrite}; use std::os; use std::path::Path; static TEMPLATE: &'static str = "\ +#![allow(unstable)] extern crate @UTIL_CRATE@; use std::os; diff --git a/mkuutils.rs b/mkuutils.rs index 7572dad2c..c886f16d7 100644 --- a/mkuutils.rs +++ b/mkuutils.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + use std::io::{File, Truncate, Write}; use std::os; use std::path::Path; diff --git a/src/base64/base64.rs b/src/base64/base64.rs index 5af887749..d677554dc 100644 --- a/src/base64/base64.rs +++ b/src/base64/base64.rs @@ -1,4 +1,5 @@ #![crate_name = "base64"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/basename/basename.rs b/src/basename/basename.rs index 71892a516..869fb3e67 100644 --- a/src/basename/basename.rs +++ b/src/basename/basename.rs @@ -1,4 +1,5 @@ #![crate_name = "basename"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/cat/cat.rs b/src/cat/cat.rs index dc6eff13a..4c5df43e6 100644 --- a/src/cat/cat.rs +++ b/src/cat/cat.rs @@ -1,4 +1,6 @@ #![crate_name = "cat"] +#![allow(unstable)] + #![feature(box_syntax, unsafe_destructor)] /* diff --git a/src/chmod/chmod.rs b/src/chmod/chmod.rs index 2f57e33b7..a34dd201e 100644 --- a/src/chmod/chmod.rs +++ b/src/chmod/chmod.rs @@ -1,4 +1,5 @@ #![crate_name = "chmod"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/chroot/chroot.rs b/src/chroot/chroot.rs index db7e4a2bb..64a65d154 100644 --- a/src/chroot/chroot.rs +++ b/src/chroot/chroot.rs @@ -1,4 +1,6 @@ #![crate_name = "chroot"] +#![allow(unstable)] + /* * This file is part of the uutils coreutils package. * diff --git a/src/cksum/cksum.rs b/src/cksum/cksum.rs index 7200b133e..08ea19131 100644 --- a/src/cksum/cksum.rs +++ b/src/cksum/cksum.rs @@ -1,4 +1,5 @@ #![crate_name = "cksum"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/comm/comm.rs b/src/comm/comm.rs index 16f04072b..aef40bbfb 100644 --- a/src/comm/comm.rs +++ b/src/comm/comm.rs @@ -1,4 +1,5 @@ #![crate_name = "comm"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/cp/cp.rs b/src/cp/cp.rs index a9d8e4f5b..6416f71bc 100644 --- a/src/cp/cp.rs +++ b/src/cp/cp.rs @@ -1,4 +1,5 @@ #![crate_name = "cp"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/cut/cut.rs b/src/cut/cut.rs index 3fc634a54..b5f3b2be9 100644 --- a/src/cut/cut.rs +++ b/src/cut/cut.rs @@ -1,4 +1,5 @@ #![crate_name = "cut"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/dirname/dirname.rs b/src/dirname/dirname.rs index 6f88a8268..56869fc80 100644 --- a/src/dirname/dirname.rs +++ b/src/dirname/dirname.rs @@ -1,4 +1,5 @@ #![crate_name = "dirname"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/du/du.rs b/src/du/du.rs index ec8e32856..740a82e31 100644 --- a/src/du/du.rs +++ b/src/du/du.rs @@ -1,4 +1,5 @@ #![crate_name = "du"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/echo/echo.rs b/src/echo/echo.rs index 2ba4f39da..661162d7a 100644 --- a/src/echo/echo.rs +++ b/src/echo/echo.rs @@ -1,4 +1,5 @@ #![crate_name = "echo"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/env/env.rs b/src/env/env.rs index d2efd5e86..595711e4c 100644 --- a/src/env/env.rs +++ b/src/env/env.rs @@ -1,4 +1,5 @@ #![crate_name = "env"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/expand/expand.rs b/src/expand/expand.rs index 716591391..a1fcce9b9 100644 --- a/src/expand/expand.rs +++ b/src/expand/expand.rs @@ -1,4 +1,5 @@ #![crate_name = "expand"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/factor/factor.rs b/src/factor/factor.rs index b66bf2055..7581af446 100644 --- a/src/factor/factor.rs +++ b/src/factor/factor.rs @@ -1,4 +1,5 @@ #![crate_name = "factor"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/false/false.rs b/src/false/false.rs index 68c3ed16e..abb81295c 100644 --- a/src/false/false.rs +++ b/src/false/false.rs @@ -1,4 +1,5 @@ #![crate_name = "uufalse"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/fmt/fmt.rs b/src/fmt/fmt.rs index 0ca41b8d5..c6e42b89d 100644 --- a/src/fmt/fmt.rs +++ b/src/fmt/fmt.rs @@ -1,4 +1,6 @@ #![crate_name = "fmt"] +#![allow(unstable)] + /* * This file is part of `fmt` from the uutils coreutils package. * diff --git a/src/fold/fold.rs b/src/fold/fold.rs index ffda8c552..778303d87 100644 --- a/src/fold/fold.rs +++ b/src/fold/fold.rs @@ -1,4 +1,5 @@ #![crate_name = "fold"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/groups/groups.rs b/src/groups/groups.rs index 29c3a755b..f22773f60 100644 --- a/src/groups/groups.rs +++ b/src/groups/groups.rs @@ -1,4 +1,6 @@ #![crate_name = "groups"] +#![allow(unstable)] + /* * This file is part of the uutils coreutils package. * diff --git a/src/hashsum/hashsum.rs b/src/hashsum/hashsum.rs index e055b8f2b..c88e0f008 100644 --- a/src/hashsum/hashsum.rs +++ b/src/hashsum/hashsum.rs @@ -1,4 +1,5 @@ #![crate_name = "hashsum"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/head/head.rs b/src/head/head.rs index c5f0347ad..e4c7bab52 100644 --- a/src/head/head.rs +++ b/src/head/head.rs @@ -1,4 +1,6 @@ #![crate_name = "head"] +#![allow(unstable)] + /* * This file is part of the uutils coreutils package. * diff --git a/src/hostid/hostid.rs b/src/hostid/hostid.rs index f84ff8987..7fc737330 100644 --- a/src/hostid/hostid.rs +++ b/src/hostid/hostid.rs @@ -1,4 +1,5 @@ #![crate_name = "hostid"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/hostname/hostname.rs b/src/hostname/hostname.rs index 572882355..034a8899a 100644 --- a/src/hostname/hostname.rs +++ b/src/hostname/hostname.rs @@ -1,4 +1,6 @@ #![crate_name = "hostname"] +#![allow(unstable)] + /* * This file is part of the uutils coreutils package. * diff --git a/src/id/id.rs b/src/id/id.rs index 829d48140..1de0a46c0 100644 --- a/src/id/id.rs +++ b/src/id/id.rs @@ -1,4 +1,5 @@ #![crate_name = "id"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/kill/kill.rs b/src/kill/kill.rs index 68d73c2bc..85c4c645d 100644 --- a/src/kill/kill.rs +++ b/src/kill/kill.rs @@ -1,4 +1,5 @@ #![crate_name = "kill"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/link/link.rs b/src/link/link.rs index 4f0da2ede..633ee950d 100644 --- a/src/link/link.rs +++ b/src/link/link.rs @@ -1,4 +1,5 @@ #![crate_name = "link"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/logname/logname.rs b/src/logname/logname.rs index ddd8d332c..ea5569f4f 100644 --- a/src/logname/logname.rs +++ b/src/logname/logname.rs @@ -1,4 +1,5 @@ #![crate_name = "logname"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/mkdir/mkdir.rs b/src/mkdir/mkdir.rs index 174759974..b3c84c8fc 100644 --- a/src/mkdir/mkdir.rs +++ b/src/mkdir/mkdir.rs @@ -1,4 +1,5 @@ #![crate_name = "mkdir"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/mkfifo/mkfifo.rs b/src/mkfifo/mkfifo.rs index 5ef8f254e..c990d4cee 100644 --- a/src/mkfifo/mkfifo.rs +++ b/src/mkfifo/mkfifo.rs @@ -1,4 +1,5 @@ #![crate_name = "mkfifo"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/mv/mv.rs b/src/mv/mv.rs index 73024b138..cff5af46c 100644 --- a/src/mv/mv.rs +++ b/src/mv/mv.rs @@ -1,4 +1,5 @@ #![crate_name = "mv"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/nice/nice.rs b/src/nice/nice.rs index 6a7e4a7ca..eb8b1115b 100644 --- a/src/nice/nice.rs +++ b/src/nice/nice.rs @@ -1,4 +1,5 @@ #![crate_name = "nice"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/nl/nl.rs b/src/nl/nl.rs index 3fe6ea9b2..020ecbc9f 100644 --- a/src/nl/nl.rs +++ b/src/nl/nl.rs @@ -1,4 +1,6 @@ #![crate_name = "nl"] +#![allow(unstable)] + /* * This file is part of the uutils coreutils package. * diff --git a/src/nohup/nohup.rs b/src/nohup/nohup.rs index 1a72e3b68..25d4aca6d 100644 --- a/src/nohup/nohup.rs +++ b/src/nohup/nohup.rs @@ -1,4 +1,5 @@ #![crate_name = "nohup"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/nproc/nproc.rs b/src/nproc/nproc.rs index 3f1b26f06..bf050c2fb 100644 --- a/src/nproc/nproc.rs +++ b/src/nproc/nproc.rs @@ -1,4 +1,5 @@ #![crate_name = "nproc"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/paste/paste.rs b/src/paste/paste.rs index b2cff4916..0de8907c9 100644 --- a/src/paste/paste.rs +++ b/src/paste/paste.rs @@ -1,4 +1,5 @@ #![crate_name = "paste"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/printenv/printenv.rs b/src/printenv/printenv.rs index 054353d91..c8108d177 100644 --- a/src/printenv/printenv.rs +++ b/src/printenv/printenv.rs @@ -1,4 +1,5 @@ #![crate_name = "printenv"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/pwd/pwd.rs b/src/pwd/pwd.rs index 508112ab2..15892c68c 100644 --- a/src/pwd/pwd.rs +++ b/src/pwd/pwd.rs @@ -1,4 +1,5 @@ #![crate_name = "pwd"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/realpath/realpath.rs b/src/realpath/realpath.rs index 3871b1156..692a92b6a 100644 --- a/src/realpath/realpath.rs +++ b/src/realpath/realpath.rs @@ -1,4 +1,5 @@ #![crate_name= "realpath"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/relpath/relpath.rs b/src/relpath/relpath.rs index 2b194332f..f16b38c9f 100644 --- a/src/relpath/relpath.rs +++ b/src/relpath/relpath.rs @@ -1,4 +1,5 @@ #![crate_name = "relpath"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/rm/rm.rs b/src/rm/rm.rs index ccc28d046..941fc1e66 100644 --- a/src/rm/rm.rs +++ b/src/rm/rm.rs @@ -1,4 +1,5 @@ #![crate_name = "rm"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/rmdir/rmdir.rs b/src/rmdir/rmdir.rs index 1eba92797..568a7fee3 100644 --- a/src/rmdir/rmdir.rs +++ b/src/rmdir/rmdir.rs @@ -1,4 +1,5 @@ #![crate_name = "rmdir"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/seq/seq.rs b/src/seq/seq.rs index ada3cbc53..7e55a8876 100644 --- a/src/seq/seq.rs +++ b/src/seq/seq.rs @@ -1,4 +1,5 @@ #![crate_name = "seq"] +#![allow(unstable)] // TODO: Make -w flag work with decimals // TODO: Support -f flag diff --git a/src/shuf/shuf.rs b/src/shuf/shuf.rs index 29163453c..82f2f795e 100644 --- a/src/shuf/shuf.rs +++ b/src/shuf/shuf.rs @@ -1,4 +1,5 @@ #![crate_name = "shuf"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/sleep/sleep.rs b/src/sleep/sleep.rs index 21efa36e5..c90112bfd 100644 --- a/src/sleep/sleep.rs +++ b/src/sleep/sleep.rs @@ -1,4 +1,5 @@ #![crate_name = "sleep"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/sort/sort.rs b/src/sort/sort.rs index 27fe680f9..ad9c25deb 100644 --- a/src/sort/sort.rs +++ b/src/sort/sort.rs @@ -1,4 +1,5 @@ #![crate_name = "sort"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/split/split.rs b/src/split/split.rs index 1ba74c5e8..963122142 100644 --- a/src/split/split.rs +++ b/src/split/split.rs @@ -1,4 +1,5 @@ #![crate_name = "split"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/sum/sum.rs b/src/sum/sum.rs index 4706498fe..dab56c98c 100644 --- a/src/sum/sum.rs +++ b/src/sum/sum.rs @@ -1,4 +1,5 @@ #![crate_name = "sum"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/sync/sync.rs b/src/sync/sync.rs index 8d3c51307..8d5ad739e 100644 --- a/src/sync/sync.rs +++ b/src/sync/sync.rs @@ -1,4 +1,6 @@ #![crate_name = "uusync"] +#![allow(unstable)] + /* * This file is part of the uutils coreutils package. * diff --git a/src/tac/tac.rs b/src/tac/tac.rs index bea2790ac..2ae8771d5 100644 --- a/src/tac/tac.rs +++ b/src/tac/tac.rs @@ -1,4 +1,5 @@ #![crate_name = "tac"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/tail/tail.rs b/src/tail/tail.rs index c9b240063..86fc4d67e 100644 --- a/src/tail/tail.rs +++ b/src/tail/tail.rs @@ -1,4 +1,6 @@ #![crate_name = "tail"] +#![allow(unstable)] + /* * This file is part of the uutils coreutils package. * diff --git a/src/tee/tee.rs b/src/tee/tee.rs index d2374af1d..98a6a0cb7 100644 --- a/src/tee/tee.rs +++ b/src/tee/tee.rs @@ -1,4 +1,6 @@ #![crate_name = "tee"] +#![allow(unstable)] + /* * This file is part of the uutils coreutils package. * diff --git a/src/test/test.rs b/src/test/test.rs index 8d5742785..530d9369c 100644 --- a/src/test/test.rs +++ b/src/test/test.rs @@ -1,4 +1,5 @@ #![crate_name = "uutest"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/timeout/timeout.rs b/src/timeout/timeout.rs index eb89dd435..ad68435a4 100644 --- a/src/timeout/timeout.rs +++ b/src/timeout/timeout.rs @@ -1,4 +1,5 @@ #![crate_name = "timeout"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/touch/touch.rs b/src/touch/touch.rs index f32c1c72f..8b40d59fb 100644 --- a/src/touch/touch.rs +++ b/src/touch/touch.rs @@ -1,4 +1,5 @@ #![crate_name = "touch"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/tr/tr.rs b/src/tr/tr.rs index 23aa63855..da40f35f8 100644 --- a/src/tr/tr.rs +++ b/src/tr/tr.rs @@ -1,4 +1,5 @@ #![crate_name = "tr"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/true/true.rs b/src/true/true.rs index f43220f82..fa4216ee8 100644 --- a/src/true/true.rs +++ b/src/true/true.rs @@ -1,4 +1,5 @@ #![crate_name= "uutrue"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/truncate/truncate.rs b/src/truncate/truncate.rs index 533b9de6a..955b0c66a 100644 --- a/src/truncate/truncate.rs +++ b/src/truncate/truncate.rs @@ -1,4 +1,5 @@ #![crate_name = "truncate"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/tsort/tsort.rs b/src/tsort/tsort.rs index 42d92f180..6ed75f64c 100644 --- a/src/tsort/tsort.rs +++ b/src/tsort/tsort.rs @@ -1,4 +1,5 @@ #![crate_name = "tsort"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/tty/tty.rs b/src/tty/tty.rs index 2d1e3dcc4..77fa59d34 100644 --- a/src/tty/tty.rs +++ b/src/tty/tty.rs @@ -1,5 +1,5 @@ #![crate_name = "tty"] - +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/uname/uname.rs b/src/uname/uname.rs index 7e4b44e12..928bf1342 100644 --- a/src/uname/uname.rs +++ b/src/uname/uname.rs @@ -1,4 +1,5 @@ #![crate_name = "uname"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/unexpand/unexpand.rs b/src/unexpand/unexpand.rs index c862e27e5..8f6b97def 100644 --- a/src/unexpand/unexpand.rs +++ b/src/unexpand/unexpand.rs @@ -1,4 +1,5 @@ #![crate_name = "unexpand"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/uniq/uniq.rs b/src/uniq/uniq.rs index 98a43d6aa..72a44835c 100644 --- a/src/uniq/uniq.rs +++ b/src/uniq/uniq.rs @@ -1,4 +1,6 @@ #![crate_name = "uniq"] +#![allow(unstable)] + /* * This file is part of the uutils coreutils package. * diff --git a/src/unlink/unlink.rs b/src/unlink/unlink.rs index 100e5c493..1ab563ce7 100644 --- a/src/unlink/unlink.rs +++ b/src/unlink/unlink.rs @@ -1,4 +1,5 @@ #![crate_name = "unlink"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/uptime/uptime.rs b/src/uptime/uptime.rs index ff5f7630a..c10f67e31 100644 --- a/src/uptime/uptime.rs +++ b/src/uptime/uptime.rs @@ -1,4 +1,5 @@ #![crate_name = "uptime"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/users/users.rs b/src/users/users.rs index 57782e61c..03878656e 100644 --- a/src/users/users.rs +++ b/src/users/users.rs @@ -1,4 +1,5 @@ #![crate_name = "users"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/uutils/uutils.rs b/src/uutils/uutils.rs index c42f43bb5..4b9e5a470 100644 --- a/src/uutils/uutils.rs +++ b/src/uutils/uutils.rs @@ -1,4 +1,5 @@ #![crate_name = "uutils"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/wc/wc.rs b/src/wc/wc.rs index 81de3567a..0309f84bf 100644 --- a/src/wc/wc.rs +++ b/src/wc/wc.rs @@ -1,4 +1,5 @@ #![crate_name = "wc"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/whoami/whoami.rs b/src/whoami/whoami.rs index 78422f5d2..e9827a623 100644 --- a/src/whoami/whoami.rs +++ b/src/whoami/whoami.rs @@ -1,4 +1,5 @@ #![crate_name = "whoami"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/src/yes/yes.rs b/src/yes/yes.rs index 07634c229..5e3364c38 100644 --- a/src/yes/yes.rs +++ b/src/yes/yes.rs @@ -1,4 +1,5 @@ #![crate_name = "yes"] +#![allow(unstable)] /* * This file is part of the uutils coreutils package. diff --git a/test/cat.rs b/test/cat.rs index 61b997383..b82c45abe 100644 --- a/test/cat.rs +++ b/test/cat.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + use std::io::process::Command; use std::str; diff --git a/test/cp.rs b/test/cp.rs index 889ec867b..6a9478cc9 100644 --- a/test/cp.rs +++ b/test/cp.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + use std::io::process::Command; use std::io::File; use std::io::fs::{unlink, PathExtensions}; diff --git a/test/mkdir.rs b/test/mkdir.rs index f8e543f8b..527fa6b45 100644 --- a/test/mkdir.rs +++ b/test/mkdir.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + use std::io::process::Command; use std::io::fs::{rmdir, PathExtensions}; use std::borrow::ToOwned; diff --git a/test/mv.rs b/test/mv.rs index 2302afbca..d789e7941 100644 --- a/test/mv.rs +++ b/test/mv.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + extern crate time; use std::io::{process, fs, FilePermission}; diff --git a/test/nl.rs b/test/nl.rs index 9498c7320..61e3c3b78 100644 --- a/test/nl.rs +++ b/test/nl.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + use std::io::process::Command; use std::str; diff --git a/test/seq.rs b/test/seq.rs index 5c046e43b..3dce8cc52 100644 --- a/test/seq.rs +++ b/test/seq.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + use std::io::process::Command; use std::str; diff --git a/test/sort.rs b/test/sort.rs index eeaf65f0f..3aa69c8ac 100644 --- a/test/sort.rs +++ b/test/sort.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + use std::io::process::Command; use std::io::File; use std::string::String; diff --git a/test/test.rs b/test/test.rs index 18eab2996..c1fe3536f 100644 --- a/test/test.rs +++ b/test/test.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + use std::io::process::Command; static EXE: &'static str = "./test"; diff --git a/test/tr.rs b/test/tr.rs index b0c8cffed..7c792ec06 100644 --- a/test/tr.rs +++ b/test/tr.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + use std::io::process::Command; static PROGNAME: &'static str = "./tr"; diff --git a/test/truncate.rs b/test/truncate.rs index 067716fd2..b61c50a1e 100644 --- a/test/truncate.rs +++ b/test/truncate.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + use std::io; use std::io::process::Command; diff --git a/test/unexpand.rs b/test/unexpand.rs index a53d68cfd..94ac39f31 100644 --- a/test/unexpand.rs +++ b/test/unexpand.rs @@ -1,3 +1,5 @@ +#![allow(unstable)] + use std::io::process::Command; static PROGNAME: &'static str = "./unexpand";