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

22 lines
617 B
TOML

[package]
name = "solana-cargo-test-sbf"
description = "Execute all unit and integration tests after building with the Solana SBF SDK"
publish = false
version = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
[dependencies]
cargo_metadata = { workspace = true }
clap = { version = "3.1.5", features = ["cargo"] }
itertools = { workspace = true }
log = { workspace = true, features = ["std"] }
solana-logger = { workspace = true }
[[bin]]
name = "cargo-test-sbf"
path = "src/main.rs"