Add BPF Sanity program-test based test (#19159)

This commit is contained in:
Jack May
2021-08-11 12:07:15 -07:00
committed by GitHub
parent 446816de52
commit 9dfeee2993
6 changed files with 51 additions and 5 deletions

View File

@@ -9,11 +9,18 @@ homepage = "https://solana.com/"
documentation = "https://docs.rs/solana-bpf-rust-sanity"
edition = "2018"
[features]
test-bpf = []
[dependencies]
solana-program = { path = "../../../../sdk/program", version = "=1.8.0" }
[dev-dependencies]
solana-program-test = { path = "../../../../program-test", version = "=1.8.0" }
solana-sdk = { path = "../../../../sdk", version = "=1.8.0" }
[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib", "lib"]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]