summaryrefslogtreecommitdiff
path: root/ci/run.sh
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2018-07-12 17:47:31 +0100
committerAmanieu d'Antras <amanieu@gmail.com>2018-07-12 17:47:31 +0100
commit3d763ae4aa3a1f9d0c61f94f915528736b262436 (patch)
tree0aaffacd223f7b8346486b67ee548ec1a26e66db /ci/run.sh
parent6fc015f03ec5144bba9d76017ab46966acbd5677 (diff)
downloadrust-libc-3d763ae4aa3a1f9d0c61f94f915528736b262436.tar.gz
Disable test for --no-default-features on rumprun
Diffstat (limited to 'ci/run.sh')
-rwxr-xr-xci/run.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/run.sh b/ci/run.sh
index ff74899cbb..ffcd042186 100755
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -86,5 +86,9 @@ if [ "$TARGET" = "x86_64-unknown-linux-gnux32" ]; then
opt="--release"
fi
-cargo test $opt --no-default-features --manifest-path libc-test/Cargo.toml --target $TARGET
+# Building with --no-default-features is currently broken on rumprun because we
+# need cfg(target_vendor), which is currently unstable.
+if [ "$TARGET" != "x86_64-rumprun-netbsd" ]; then
+ cargo test $opt --no-default-features --manifest-path libc-test/Cargo.toml --target $TARGET
+fi
exec cargo test $opt --manifest-path libc-test/Cargo.toml --target $TARGET