ff74452ef3
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.66 to 0.2.67. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](https://github.com/rust-lang/libc/compare/0.2.66...0.2.67) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md | ||
build.rs | ||
cbindgen.toml |
README.md
Solana SDK-C
This crate exposes a C API to Solana functions written in Rust. The crate generates a static library, and uses cbindgen
to generate a header file during the build. To generate both:
$ cd <path/to/solana/repo>/sdk-c
$ SOLANA_H_OUT_DIR="$(pwd)/include" cargo build
This will generate the static library in <path/to/solana/repo>/target/deps
and the header file in
<path/to/solana/repo>/sdk-c/include
.