2d618722e6
Bumps [cbindgen](https://github.com/eqrion/cbindgen) from 0.13.2 to 0.14.0. - [Release notes](https://github.com/eqrion/cbindgen/releases) - [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES) - [Commits](https://github.com/eqrion/cbindgen/compare/v0.13.2...v0.14.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.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
.