Skip to content

Commit 4d7fa24

Browse files
committed
Fix the FreeBSD target
It wasn't expecting a `*.d` file to exist, now it does.
1 parent 614199a commit 4d7fa24

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci/run.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ if [ "$QEMU" != "" ]; then
4141

4242
# Do the standard rigamarole of cross-compiling an executable and then the
4343
# script to run just executes the binary.
44-
cargo build --manifest-path libc-test/Cargo.toml --target $TARGET --tests
44+
cargo build \
45+
--manifest-path libc-test/Cargo.toml \
46+
--target $TARGET \
47+
--test main
48+
rm $CARGO_TARGET_DIR/$TARGET/debug/main-*.d
4549
cp $CARGO_TARGET_DIR/$TARGET/debug/main-* $tmpdir/mount/libc-test
4650
echo 'exec $1/libc-test' > $tmpdir/mount/run.sh
4751

0 commit comments

Comments
 (0)