Skip to content

Commit b5d4fe5

Browse files
committed
fix CI: regenerate Cargo.lock, fix borsh try_to_vec, allow clippy diverging_sub_expression
- Regenerated root Cargo.lock to resolve solana-address version conflicts - basics/rent: replaced try_to_vec() with borsh::to_vec() (borsh 1.x compat) - clippy: allow diverging_sub_expression (false positive from Anchor 1.0 #[program] macro)
1 parent 02caa56 commit b5d4fe5

3 files changed

Lines changed: 1306 additions & 1094 deletions

File tree

.github/workflows/rust.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,5 @@ jobs:
4747
with:
4848
components: clippy
4949
- name: Linting
50-
run: cargo clippy -- -D warnings
50+
# Allow diverging_sub_expression: false positive from Anchor 1.0's #[program] macro expansion
51+
run: cargo clippy -- -D warnings -A clippy::diverging_sub_expression

0 commit comments

Comments
 (0)