chore: Fix rust doc? (#415)

This commit is contained in:
Anatolios Laskaris 2022-12-26 19:28:18 +02:00 committed by GitHub
parent 590479cc5b
commit 89cd606e58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -19,15 +19,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup rust toolchain
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, rust-src
- name: Build Documentation
env:
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options"
run: cargo +nightly doc --all --no-deps
run: cargo doc --all --no-deps
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3.9.0

View File

@ -1,6 +1,6 @@
[toolchain]
# AquaVM can be built with "stable", "nightly" required only to build Marine tests
channel = "nightly-2022-12-01"
components = [ "rustfmt", "clippy" ]
components = [ "rustfmt", "clippy", "rust-src" ]
targets = [ "x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "wasm32-wasi" ]
profile = "minimal"