Skip to content
Snippets Groups Projects
Commit 4d7fa243 authored by Alex Crichton's avatar Alex Crichton
Browse files

Fix the FreeBSD target

It wasn't expecting a `*.d` file to exist, now it does.
parent 614199a8
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,11 @@ if [ "$QEMU" != "" ]; then ...@@ -41,7 +41,11 @@ if [ "$QEMU" != "" ]; then
# Do the standard rigamarole of cross-compiling an executable and then the # Do the standard rigamarole of cross-compiling an executable and then the
# script to run just executes the binary. # 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 cp $CARGO_TARGET_DIR/$TARGET/debug/main-* $tmpdir/mount/libc-test
echo 'exec $1/libc-test' > $tmpdir/mount/run.sh echo 'exec $1/libc-test' > $tmpdir/mount/run.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment