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.
Original post
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
Top replies on X
Sign in to see 1 top replies from X
From @ADPthegreat and others. Spam removed, with English and Chinese translations.
Discussion 0
Sign up Sign in to join the discussion
No comments yet. Start the conversation.