2021-12-21 10:49:51 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -eoux pipefail
|
|
|
|
|
2023-01-19 15:38:27 +00:00
|
|
|
# see https://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself
|
|
|
|
THIS_SCRIPT="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
|
|
|
cd $THIS_SCRIPT/../../rust
|
2021-12-21 10:49:51 +00:00
|
|
|
RUSTDOCFLAGS="-D rustdoc::broken-intra-doc-links -D warnings" \
|
|
|
|
cargo doc --no-deps --workspace --document-private-items
|