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

Download history 24/week @ 2026-02-12 102/week @ 2026-02-19 9/week @ 2026-03-12 18/week @ 2026-04-02 63/week @ 2026-04-16

81 downloads per month

MIT license

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

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