diff --git a/scripts/regenerate_test_rustdocs.sh b/scripts/regenerate_test_rustdocs.sh index e9cffba3..1ae67e7c 100755 --- a/scripts/regenerate_test_rustdocs.sh +++ b/scripts/regenerate_test_rustdocs.sh @@ -53,6 +53,7 @@ fi PLACEHOLDER_DIR="$TARGET_DIR/placeholder" rm -rf "$PLACEHOLDER_DIR" +mkdir -p "$TARGET_DIR" pushd "$TARGET_DIR" cargo new --lib placeholder cd placeholder