diff --git a/tools/ci-scripts/check-aws-sdk-smoketest-docs-clippy-udeps b/tools/ci-scripts/check-aws-sdk-smoketest-docs-clippy-udeps index 38942ef0678..b3b0ade515d 100755 --- a/tools/ci-scripts/check-aws-sdk-smoketest-docs-clippy-udeps +++ b/tools/ci-scripts/check-aws-sdk-smoketest-docs-clippy-udeps @@ -10,7 +10,7 @@ set -eux pushd aws-sdk-smoketest &>/dev/null # Override "fail on warning" for smoke test docs since DynamoDB's modeled docs cause rustdoc warnings -RUSTDOCFLAGS="" cargo doc --no-deps --document-private-items --all-features +RUSTDOCFLAGS="--cfg docsrs" cargo +"${RUST_NIGHTLY_VERSION}" doc --no-deps --document-private-items --all-features cargo clippy --all-features cargo +"${RUST_NIGHTLY_VERSION}" udeps diff --git a/tools/ci-scripts/check-only-aws-sdk-services b/tools/ci-scripts/check-only-aws-sdk-services index d1e0ea754ee..b15c4133b3d 100755 --- a/tools/ci-scripts/check-only-aws-sdk-services +++ b/tools/ci-scripts/check-only-aws-sdk-services @@ -13,7 +13,6 @@ cd aws-sdk sed -i '/"examples\//d' Cargo.toml cargo check --all-targets --all-features -RUSTDOCFLAGS="--cfg docsrs" cargo +"${RUST_NIGHTLY_VERSION}" doc --no-deps --document-private-items --all-features for test_dir in tests/*; do if [ -f "${test_dir}/Cargo.toml" ]; then