solana/programs/loader-v4
Alexander Meißner 150a798d32
Fix - Upcoming `arithmetic_side_effects` lints (#33000)
* dereplicode address alignment check

* Uses `checked_div` and `checked_rem` in built-in loaders.

* Uses `checked_div` and `checked_rem`.

* sdk: replace sub() with saturating_sub()

* eliminate `String` "arithmetic"

* allow arithmetic side-effects in tests and benches and on types we don't control

---------

Co-authored-by: Trent Nelson <trent@solana.com>
2023-08-29 20:58:53 +02:00
..
src Fix - Upcoming `arithmetic_side_effects` lints (#33000) 2023-08-29 20:58:53 +02:00
test_elfs/out
Cargo.toml ci: make loader v4 program publish = true (#31932) 2023-06-02 07:24:17 +00:00