Skip to content

blueshift-gg/sbpf-linker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 the Blueshift LLVM fork to experiment with upcoming changes during the upstreaming process. cargo install-with-gallery detects the LLVM major from rustup run nightly rustc -vV and clones the matching gallery branch, currently upstream-gallery-21 or upstream-gallery-22, before building 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

About

An upstream BPF linker for SBPF V0 programs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages