fix: cranelift

This commit is contained in:
Elijah McMorris 2025-02-03 11:56:31 -08:00
parent 531af211bf
commit 300c06d48b
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
7 changed files with 378 additions and 252 deletions

View file

@ -1,12 +1,23 @@
precommit:
cargo update
cargo check
cargo fmt
cargo t
cargo clippy --fix --allow-dirty
check:
cargo update
nix flake update
nix flake check
cargo clippy --fix --allow-dirty
just precommit-shared
nix flake update
nix flake check -v
precommit:
just precommit-shared
cargo check
just test
alias t := test
test:
cargo t --no-fail-fast
precommit-shared:
cargo upgrade -v
cargo update
cargo fmt --all
just clippy
clippy:
cargo clippy --all --fix --allow-dirty -- -W clippy::nursery -W rust-2018-idioms \
-A clippy::future_not_send -A clippy::option_if_let_else -A clippy::or_fun_call