sbpf-linker 0.2.3: Blueshift Says Solana Programs Now Build on Upstream Rust and LLVM
Blueshift's sbpf-linker 0.2.3, released 9 October 2026, adds default math builtins and an sBPF v3 default for building Solana programs on upstream Rust.
Blueshift's sbpf-linker 0.2.3 reached crates.io at 08:03 UTC on 9 October 2026 and was tagged on GitHub the same day. Claire Fan, the Blueshift developer who wrote the release's main changes, says the version lets developers compile a Solana SOL$109.70+1.0% program with the ordinary Rust nightly compiler, with no Solana-specific fork of Rust or LLVM involved.
How sbpf-linker builds Solana programs from upstream Rust and LLVM
Solana programs run as sBPF, a bytecode format derived from eBPF. Producing that bytecode has meant using a modified compiler. Anza's platform-tools repository says it builds "Clang and Rust compiler binaries that incorporate customizations and fixes required by Solana but not yet upstreamed into Rust or LLVM", drawing on Anza-maintained forks of Rust, LLVM, Cargo, compiler-builtins and newlib.
sbpf-linker takes a different route. The project README describes the tool as "an upstream BPF linker to relink upstream BPF binaries into an SBPF V0/V3 compatible binary format". The unmodified compiler targets generic BPF, and the linker, the tool that assembles compiled code into a finished program file, repackages the result into a file the Solana runtime accepts. Fan set out that two-step design in her Breakpoint 2025 talk on sBPF and compilers, where she argued that a forked compiler leaves Solana developers waiting for improvements made in mainline Rust and LLVM.
What changed in sbpf-linker 0.2.3: compiler builtins, stricter errors
The release notes list 13 changes from five contributors. Fan wrote three of them: a warning when the solana-compiler-builtins crate is missing, a default of sBPF v3 with the architecture flag hidden, and math builtins that are included by default. None of the three pull requests carries a description, so the repository does not document the reasoning behind them.
Builtins are small helper routines a compiler assumes are available for operations the target machine cannot do directly. solana-compiler-builtins, a separate Blueshift crate, provides "software implementations of intrinsics not natively supported by the SVM", the Solana Virtual Machine. Its list covers memory copy and compare, 128-bit integer multiplication and 64-bit floating-point arithmetic.
Two other changes make build failures harder to miss. The linker now reports every missing exported symbol at once, and a stack-argument overlap that used to produce a warning now stops the build.
Claire Fan's cargo +nightly build claim and what the README documents
Fan announced the release on X with the line: "For the first time in Solana history, we can generate Solana programs directly from upstream rustc and LLVM!" She added that "starting with sbpf-linker 0.2.3, you can compile a no_std Solana program with just cargo +nightly build". A no_std program is one that does not use Rust's standard library.
The approach itself is a year old: the first sbpf-linker crate was published on 11 October 2025, per crates.io. Fan's claim for 0.2.3 is that the flow now works with a plain Cargo command. The README has not caught up with that description. It documents cargo +nightly build-bpf through a project template, does not mention no_std, and has no section on known limitations. Fan's post says "anything that doesn't work should be considered a bug, and I'll fix it!"
Anza engineer Alessandro Decina responded on X: "this is the way, remove all the ad hoc slop". That is one engineer's comment. Solana Compass found no Anza statement about changing platform-tools.
sBPF v3 is the linker's default, and mainnet activation is still pending
The linker now targets sBPF v3 unless told otherwise. Solana's sBPF v3 upgrade page lists mainnet activation as expected with Agave 4.4 in November 2026, with a devnet date "to be determined". Once the feature activates, the page says, "the network rejects any deployment, upgrade, or finalization of a program built for sBPFv0, v1, or v2", while programs already onchain keep running. Developers trying the upstream flow before then should check which sBPF version their target cluster accepts.
sbpf-linker is MIT-licensed. The README recommends cargo binstall sbpf-linker; installing from source with cargo install sbpf-linker needs a Rust nightly no older than nightly-2026-08-05.
Comments
Please login to leave a comment.
Contents
Related Content
Tech Talk: Blueshift - Demystifying SBPF and Comparing Compilers
Product Keynote: Blueshift
Solana Changelog - October 17 - Duplicate Block Prevention, Anchor, and Cargo Registry
Solana Changelog - October 17 - Duplicate Block Prevention, Anchor, and Cargo Registry
Anza Block: Alexander Meißner
BP 2024: Technical Talk: Open Source X-Ray: Solana Smart Contract Static Analysis
Write Solidity on Solana with Solang (feat. Sean Young, Solana Labs) - Solfate Podcast #31
Solana Changelog - Feb 20 - Feature Activation, Decoupling the SMV, and Rust v1.76
Solana Changelog - Feature Activation, Decoupling the SVM, and Rust v1.76
Solana Changelog Sep 4 - Rust Wallet Adapter, Optimized Entrypoint, and Anchor improvements
Solana Changelog - February 21, 2023 - Epoch Rewards V2, Ledger Versioned Transactions, and Kaizen
Solana Changelog Jul 17 - Deprecations, Precompiles, and Developer Resources
Solana Changelog - Mar 19: Anza's Agave Client, Compute, and create-solana-program
Solana Changelog - Nov 20 - Agave validator v2.0, loaded account costs
Solana Changelog - Faster getProgramAccounts, SIMD-96 Approved, and Anchor Types in Kinobi
Latest news
Helium Says First Wakefern Grocery Stores Are Live on the Helium Network, Carrying Carrier Traffic Over Store Wi-Fi
Solana's 200ms Slot Time Is Live on Mainnet at Epoch 1053, Completing SIMD-0525
sbpf-linker 0.2.3: Blueshift Says Solana Programs Now Build on Upstream Rust and LLVM
Sanctum Launches Sanctum Wrapped SOL (swSOL), a 1:1 wSOL Alternative That Pays Staking Yield to Integrators
Grass Launches Contents API, a Live Web Retrieval Tool for AI Agents
Securitize Launches Securitize Stocks on Solana: 12 U.S. Equities as 1:1-Backed Security Entitlements
Orca and Loopscale Merge to Form Formation as Orca's Council Moves to Re-Run the ORCA Tokenholder Vote
Samsung Wallet to Add USDC Transfers for US Galaxy Users, With Solana and Sui as Network Partners
VanEck Solana ETF (VSOL) Declares First Cash Distribution of $964,960 From Staking Income
Jupiter's Swap API Adds Opt-In Solana Transaction v1 Support for Integrators
Solana Token Markets