diff options
author | pommicket <pommicket@gmail.com> | 2025-09-08 12:03:54 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-08 12:03:54 -0400 |
commit | eb93ed0b575a612af02e14b660e30486c27b9863 (patch) | |
tree | 22fd2ea14af20c23037b1bc053226eed13c7c7e7 /pre-commit.sh | |
parent | 20417bbb3fe8a75d648d20c0d2cf6c112bfdf114 (diff) |
Fix no_std build
Diffstat (limited to 'pre-commit.sh')
-rwxr-xr-x | pre-commit.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |