mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-22 16:35:33 +00:00
fix: Use more recent nightly in doc tests
This commit is contained in:
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
@ -213,7 +213,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ env.MSRV }}
|
||||
toolchain: "nightly-2024-08-21"
|
||||
target: x86_64-unknown-linux-gnu
|
||||
- run: cargo install toml-cli # toml-cli is required to run `make test-build-docs-rs`
|
||||
- name: make test-build-docs-rs-ci
|
||||
|
4
Makefile
4
Makefile
@ -464,10 +464,10 @@ test-build-docs-rs-ci:
|
||||
fi; \
|
||||
printf "*** Building doc for package with manifest $$manifest_path ***\n\n"; \
|
||||
if [ -z "$$features" ]; then \
|
||||
RUSTDOCFLAGS="--cfg=docsrs" $(CARGO_BINARY) +nightly-2023-10-05 doc $(CARGO_TARGET_FLAG) --manifest-path "$$manifest_path" --no-deps --locked || exit 1; \
|
||||
RUSTDOCFLAGS="--cfg=docsrs" $(CARGO_BINARY) +nightly-2024-08-21 doc $(CARGO_TARGET_FLAG) --manifest-path "$$manifest_path" --no-deps --locked || exit 1; \
|
||||
else \
|
||||
printf "Following features are inferred from Cargo.toml: $$features\n\n\n"; \
|
||||
RUSTDOCFLAGS="--cfg=docsrs" $(CARGO_BINARY) +nightly-2023-10-05 doc $(CARGO_TARGET_FLAG) --manifest-path "$$manifest_path" --no-deps --features "$$features" --locked || exit 1; \
|
||||
RUSTDOCFLAGS="--cfg=docsrs" $(CARGO_BINARY) +nightly-2024-08-21 doc $(CARGO_TARGET_FLAG) --manifest-path "$$manifest_path" --no-deps --features "$$features" --locked || exit 1; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user