NoFOMO
Search 中EN Sign in Sign up

Peaked at #8 Off the board

Solana compiles via rustc

Developer Claire released sbpf-linker 0.2.3, enabling Solana programs to compile directly from upstream rustc and LLVM via cargo nightly.

Rank over time

Original post

Claire @clairefxyz 1,553 followers

For the first time in Solana history, we can generate Solana programs directly from upstream rustc and LLVM! Starting with sbpf-linker 0.2.3, you can compile a no_std Solana program with just cargo +nightly build, and voilà! ✨ Anything that doesn't work should be considered a bug, and I'll fix it! I've chewed through all the compiler and assembly glass so you don't have to. The only thing left for you is to learn Rust properly. Below is a quick guide to .cargo/config.toml 101 and Solana libcalls
71likes 16reposts 12replies 6,831views

View on X Save

Top replies on X

Sign in to see 1 top replies from X

From @ADPthegreat and others. Spam removed, with English and Chinese translations.

Sign up free Have an account? Sign in

Discussion 0

No comments yet. Start the conversation.

Suggest a source

Is there a first-hand source we're missing, or a topic we should watch? Tell us. Once approved, everyone's board covers it.

@username or profile link