6 releases
Uses new Rust 2024
| 0.1.8 | Feb 23, 2026 |
|---|---|
| 0.1.6 | Dec 13, 2025 |
| 0.1.5 | Oct 16, 2025 |
#4 in #sbpf
81 downloads per month
22KB
401 lines
SBPF Linker
An upstream BPF linker to relink upstream BPF binaries into an SBPF V0 compatible binary format.
Install
cargo install sbpf-linker
Upstream Gallery: Early Feature Gate
Integrates the latest LLVM commits from upstream-gallery-21 to experiment with upcoming changes during the upstreaming process. The xtask command clones this branch from the Blueshift LLVM fork and builds sbpf-linker with static LLVM linking.
cargo install-with-gallery
Generate a Program
cargo generate --git https://github.com/blueshift-gg/solana-upstream-bpf-template
cargo +nightly build-bpf
Dependencies
~18–25MB
~390K SLoC