You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library can be built for either your native platform or in BPF (used by Solana programs).
182
182
Use `cargo build` / `cargo test` to build and test natively.
183
183
Use `cargo build-bpf` / `cargo test-bpf` to build in BPF for Solana; these commands require you to have installed the [Solana CLI tools](https://docs.solana.com/cli/install-solana-cli-tools).
184
-
185
-
The BPF tests will also run an instruction count program that logs the resource consumption
186
-
of various library functions.
187
-
This program can also be run on its own using `cargo test-bpf --test instruction_count`.
This contract is used to test pyth-sdk-solana onchain.
3
+
4
+
## Development
5
+
Use `cargo build-bpf` / `cargo test-bpf` to build in BPF for Solana; these commands require you to have installed the [Solana CLI tools](https://docs.solana.com/cli/install-solana-cli-tools).
6
+
7
+
The BPF tests will also run an instruction count program that logs the resource consumption
8
+
of various library functions.
9
+
This program can also be run on its own using `cargo test-bpf --test instruction_count`.
0 commit comments