From eb93ed0b575a612af02e14b660e30486c27b9863 Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 8 Sep 2025 12:03:54 -0400 Subject: Fix no_std build --- pre-commit.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pre-commit.sh') diff --git a/pre-commit.sh b/pre-commit.sh index bcffdca..603bc0f 100755 --- a/pre-commit.sh +++ b/pre-commit.sh @@ -1,4 +1,7 @@ #!/bin/sh cargo fmt || exit 1 +cargo check || exit 1 cargo clippy -- -D warnings || exit 1 +# Check that there are no errors with no_std +cargo check --target=wasm32-unknown-unknown --no-default-features || exit 1 git add -u || exit 1 -- cgit v1.2.3