Try this.

This commit is contained in:
David Sherret 2024-03-27 20:25:10 -04:00
parent f700f57fc6
commit 7d0f73c1e8
2 changed files with 3 additions and 6 deletions

View File

@ -132,13 +132,9 @@ jobs:
if: success() && steps.source.outputs.modified == 'true'
- name: Set up Rust
uses: hecrj/setup-rust-action@v2
if: success() && steps.source.outputs.modified == 'true'
with:
# This must match the version in _wasm/rust-toolchain.toml of the module folder
rust-version: 1.76.0
targets: wasm32-unknown-unknown
components: rustfmt
uses: dsherret/rust-toolchain-file@v1
cwd: crypto/_wasm
- name: Rebuild Wasm and verify it hasn't changed
if: success() && steps.source.outputs.modified == 'true'

View File

@ -1,3 +1,4 @@
[toolchain]
channel = "1.77.0"
targets = ["wasm32-unknown-unknown", "rustfmt"]
components = ["rustfmt"]