Include rust-src, remove simple-mermaid from tree

This commit is contained in:
Luke Parker 2023-12-15 14:44:16 -05:00
parent ec0d38a90d
commit d62f311b93
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -23,7 +23,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install nightly rust
run: rustup toolchain install ${{ steps.nightly.outputs.version }} --profile minimal -t wasm32-unknown-unknown -c clippy
run: rustup tolchain install ${{ steps.nightly.outputs.version }} --profile minimal -c rust-src -t wasm32-unknown-unknown -c clippy
- name: Run Clippy
run: cargo +${{ steps.nightly.outputs.version }} clippy --all-features --all-targets -- -D warnings -A clippy::items_after_test_module

View file

@ -9,7 +9,8 @@ RUN rm -rf /etc/apt/sources.list.d/debian.sources && \
# Install dependencies
RUN apt install clang -y
# Add the wasm toolchain
# Add the std src and wasm toolchain
RUN rustup component add rust-src
RUN rustup target add wasm32-unknown-unknown
# Add files for build