This commit is contained in:
TristanDebrunner
2019-07-15 13:17:17 -06:00
committed by GitHub
parent 04649de6a6
commit 6b86f85916
12 changed files with 777 additions and 18 deletions

12
sdk-c/README.md Normal file
View File

@@ -0,0 +1,12 @@
# 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:
```shell
$ cd <path/to/solana/repo>/sdk-c
$ 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`.