aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/ci/script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/ci/script.sh')
-rwxr-xr-xcortex-m-rt/ci/script.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/cortex-m-rt/ci/script.sh b/cortex-m-rt/ci/script.sh
index 40ff22a..69262f6 100755
--- a/cortex-m-rt/ci/script.sh
+++ b/cortex-m-rt/ci/script.sh
@@ -33,6 +33,8 @@ main() {
data_overflow
)
if [ "$TARGET" != x86_64-unknown-linux-gnu ]; then
+ RUSTDOCFLAGS="-Cpanic=abort" cargo test --doc
+
# linking with GNU LD
for ex in "${examples[@]}"; do
cargo rustc --target "$TARGET" --example "$ex" -- \