diff options
author | Alex Crichton <alex@alexcrichton.com> | 2016-04-11 10:16:45 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2016-04-11 13:28:21 -0700 |
commit | dfd196efe63cd29c736dfa32dbfb12ae8247044a (patch) | |
tree | ad55a1fd76721fe18e8d307e5dbaef8ae2122973 | |
parent | f4411ad7db204e3859dddf6a061f9a53eb43cbe5 (diff) | |
download | rust-libc-dfd196efe63cd29c736dfa32dbfb12ae8247044a.tar.gz |
Use '&&' on travis, not ';'
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | src/unix/mod.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 11a830e41f..0d76d4cdcc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,8 +14,8 @@ script: elif [[ $TRAVIS_RUST_VERSION = "1.0.0" ]]; then cargo build; else - cargo build; - cargo build --no-default-features; + cargo build && + cargo build --no-default-features && rustc ci/style.rs && ./style src; fi os: diff --git a/src/unix/mod.rs b/src/unix/mod.rs index a62ec74a30..4fd1601ae1 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -156,7 +156,7 @@ cfg_if! { } else if #[cfg(target_os = "emscripten")] { #[link(name = "c")] extern {} - } else if #[cfg(all(target_vendor = "rumprun", target_os = "netbsd"))] { + } else if #[cfg(all(target_os = "netbsd", target_vendor = "rumprun"))] { // Since we don't use -nodefaultlibs on Rumprun, libc is always pulled // in automatically by the linker. We avoid passing it explicitly, as it // causes some versions of binutils to crash with an assertion failure. |