We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 180aab3 commit c126fcbCopy full SHA for c126fcb
test-runner/create-library.sh
@@ -71,11 +71,14 @@ fi
71
if [[ "$CONFIGURATION" == "Release" ]]; then
72
target_config="release"
73
env PATH="${build_path}" cargo build --release "${build_args[@]}"
74
+ if [[ "$?" != "0" ]]; then exit 1; fi
75
elif [[ "$CONFIGURATION" == "Debug" ]]; then
76
target_config="debug"
77
env PATH="${build_path}" cargo build "${build_args[@]}"
78
79
else
80
echo "error: Unexpected build configuration: $CONFIGURATION"
81
+ exit 1
82
fi
83
#
84
# Copy the built library to the derived files directory
0 commit comments