diff --git a/doc/generate-api-docs.sh b/doc/generate-api-docs.sh index ded6b9a7..4f1dfde2 100755 --- a/doc/generate-api-docs.sh +++ b/doc/generate-api-docs.sh @@ -61,7 +61,7 @@ for LIB in $LIBS_SORTED; do if grep -q 'feature(sgx_platform)' ./src/lib.rs; then ARGS+=" --target x86_64-fortanix-unknown-sgx" fi - cargo doc --no-deps --lib $ARGS + cargo +nightly doc --no-deps --lib $ARGS popd fi done