Skip to content

Commit 55f95da

Browse files
author
Felipe Rosa
authored
chore: Use nightly rustdoc when building Rust docs (#136)
* chore: Use nightly rustdoc when building Rust docs * chore: Use nightly rustdoc when building Rust doctests
1 parent 0a44596 commit 55f95da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

earthly/rust/scripts/std_build.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ status $rc "Checking all Clippy Lints in the workspace" \
2828

2929
## Check we can generate all the documentation
3030
status $rc "Checking Documentation can be generated OK" \
31-
cargo docs; rc=$?
31+
cargo +nightly docs; rc=$?
3232

3333
## Check if all Self contained tests pass (Test that need no external resources).
3434
status $rc "Checking Self contained Unit tests all pass" \
3535
cargo testunit; rc=$?
3636

3737
## Check if all documentation tests pass.
3838
status $rc "Checking Documentation tests all pass" \
39-
cargo testdocs; rc=$?
39+
cargo +nightly testdocs; rc=$?
4040

4141
## Check if any benchmarks defined run (We don;t validate the results.)
4242
status $rc "Checking Benchmarks all run to completion" \
@@ -75,4 +75,4 @@ do
7575
done
7676

7777
# Return an error if any of this fails.
78-
exit $rc
78+
exit $rc

0 commit comments

Comments
 (0)