From 4d7fa243c63ef620ad704d887c50d1f2e5eee8c3 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 25 Nov 2017 13:56:29 -0800 Subject: [PATCH] Fix the FreeBSD target It wasn't expecting a `*.d` file to exist, now it does. --- ci/run.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/run.sh b/ci/run.sh index 420542a5..02dd35a1 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -41,7 +41,11 @@ if [ "$QEMU" != "" ]; then # Do the standard rigamarole of cross-compiling an executable and then the # script to run just executes the binary. - cargo build --manifest-path libc-test/Cargo.toml --target $TARGET --tests + cargo build \ + --manifest-path libc-test/Cargo.toml \ + --target $TARGET \ + --test main + rm $CARGO_TARGET_DIR/$TARGET/debug/main-*.d cp $CARGO_TARGET_DIR/$TARGET/debug/main-* $tmpdir/mount/libc-test echo 'exec $1/libc-test' > $tmpdir/mount/run.sh