* Fix C headers (the name of the syscall was incorrect).
* Add C SBF tests using the alt_bn128 syscall.
* Fix the Rust SBF program:
* Do not use serde and array-bytes, provide test cases as byte arrays
directly.
* Use the `custom_heap_default` macro.
* Replace `bpf` with `sbf` in the crate name.
* Execute both previously existing Rust tests and new C tests in
`programs/sbf/tests`, so they are actually tested on CI.
20 lines
478 B
TOML
20 lines
478 B
TOML
[package]
|
|
name = "solana-sbf-rust-alt-bn128"
|
|
description = "Solana BPF test program written in Rust"
|
|
version = { workspace = true }
|
|
authors = { workspace = true }
|
|
repository = { workspace = true }
|
|
homepage = { workspace = true }
|
|
license = { workspace = true }
|
|
edition = { workspace = true }
|
|
|
|
[dependencies]
|
|
array-bytes = { workspace = true }
|
|
solana-program = { workspace = true }
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|