diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 16707555..6fdd0624 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/orchestration/runtime/Dockerfile b/orchestration/runtime/Dockerfile index cbc82552..d9683437 100644 --- a/orchestration/runtime/Dockerfile +++ b/orchestration/runtime/Dockerfile @@ -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