solana-with-rpc-optimizations/sdk-c
dependabot-preview[bot] 06c63f2026 Bump cbindgen from 0.12.0 to 0.12.1 (#7637)
Bumps [cbindgen](https://github.com/eqrion/cbindgen) from 0.12.0 to 0.12.1.
- [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.12.0...v0.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 22:16:48 -07:00
..
src
.gitignore
Cargo.toml Bump cbindgen from 0.12.0 to 0.12.1 (#7637) 2019-12-30 22:16:48 -07:00
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.