6b611e1c52
- Tweak linker script Ensure that all read only sections end up in one segment, and everything else in other segments. Discard .eh_frame, .hash and .gnu.hash since they are unused. - Don't create invalid string slices in stdout/stderr on Solana - Report exceeded stack size as a warning if dynamic frames are off - Native support for signed division in SBF Adds BPF_SDIV, which is enabled only for the SBF subtarget. - Introduce dynamic stack frames and the SBFv2 flag Dynamic stack frames are currently opt-in and enabled setting cpu=sbfv2. When sbfv2 is used, ELF files are flagged with e_flags=EF_SBF_V2 so the runtime can detect it and react accordingly. |
||
---|---|---|
.. | ||
benches | ||
bpf | ||
cargo-build-bpf | ||
cargo-test-bpf | ||
docker-solana | ||
macro | ||
program | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
build.rs | ||
package.json |
README.md
Solana SDK
Use the Solana SDK Crate to write client side applications in Rust. If writing on-chain programs, use the Solana Program Crate instead.
More information about Solana is available in the Solana documentation.
The Solana Program Library provides examples of how to use this crate.
Still have questions? Ask us on Discord