summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-07-16 01:37:09 +0000
committerbors <bors@rust-lang.org>2021-07-16 01:37:09 +0000
commitdc576de92ce4057af7586a5f5f319943214631c2 (patch)
tree6d9d70c0347f8bb873a8559fe58fe147a8fe0bc0 /ci
parent9ac03a6b2f19ea4889b5ac4bfbf6aa3b24b8b714 (diff)
parent7306620976d6c14be842231968def04eb15c1fef (diff)
downloadrust-libc-dc576de92ce4057af7586a5f5f319943214631c2.tar.gz
Auto merge of #2289 - JohnTitor:no-more-opt-build, r=JohnTitor
Do debug build for `x86_64-unknown-linux-gnux32` The mentioned issue has been fixed, let's see if we can remove the `--release` flag. r? `@ghost`
Diffstat (limited to 'ci')
-rwxr-xr-xci/run.sh17
1 files changed, 5 insertions, 12 deletions
diff --git a/ci/run.sh b/ci/run.sh
index 314ea088c6..ab2ada806e 100755
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -82,13 +82,6 @@ if [ "$QEMU" != "" ]; then
exec egrep "^(PASSED)|(test result: ok)" "${CARGO_TARGET_DIR}/out.log"
fi
-# FIXME: x86_64-unknown-linux-gnux32 fails to compile without --release
-# See https://github.com/rust-lang/rust/issues/59220
-opt=
-if [ "$TARGET" = "x86_64-unknown-linux-gnux32" ]; then
- opt="--release"
-fi
-
if [ "$TARGET" = "s390x-unknown-linux-gnu" ]; then
# FIXME: s390x-unknown-linux-gnu often fails to test due to timeout,
# so we retry this N times.
@@ -103,12 +96,12 @@ if [ "$TARGET" = "s390x-unknown-linux-gnu" ]; then
continue
fi
elif [ "$passed" = "1" ]; then
- if cargo test $opt --manifest-path libc-test/Cargo.toml --target "${TARGET}" ; then
+ if cargo test --manifest-path libc-test/Cargo.toml --target "${TARGET}" ; then
passed=$((passed+1))
continue
fi
elif [ "$passed" = "2" ]; then
- if cargo test $opt --features extra_traits --manifest-path libc-test/Cargo.toml --target "${TARGET}"; then
+ if cargo test --features extra_traits --manifest-path libc-test/Cargo.toml --target "${TARGET}"; then
break
fi
fi
@@ -116,11 +109,11 @@ if [ "$TARGET" = "s390x-unknown-linux-gnu" ]; then
sleep 1
done
else
- cargo test $opt --no-default-features --manifest-path libc-test/Cargo.toml \
+ cargo test --no-default-features --manifest-path libc-test/Cargo.toml \
--target "${TARGET}"
- cargo test $opt --manifest-path libc-test/Cargo.toml --target "${TARGET}"
+ cargo test --manifest-path libc-test/Cargo.toml --target "${TARGET}"
- RUST_BACKTRACE=1 cargo test $opt --features extra_traits --manifest-path libc-test/Cargo.toml \
+ RUST_BACKTRACE=1 cargo test --features extra_traits --manifest-path libc-test/Cargo.toml \
--target "${TARGET}"
fi