#!/bin/bash
# This is the top-level test script:
#
# - Make a debug build.
# - Make a release build.
# - Run unit tests for all Rust crates
# - Build API documentation.
#
# All tests run by this script should be passing at all times.
# Repository top-level directory.
topdir=
# Run rustfmt if we have it.
if ; then
fi
# Make sure the code builds in debug mode.
# Make sure the code builds in release mode, and run the unit tests. We run
# these in release mode for speed, but note that the top-level Cargo.toml file
# does enable debug assertions in release builds.
# Make sure the documentation builds.