Skip to content

Commit 262e6c9

Browse files
authored
Remove build utils (#320)
1 parent 0fd6a16 commit 262e6c9

File tree

2 files changed

+0
-45
lines changed

2 files changed

+0
-45
lines changed

program/rust/build.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
mod build_utils;
21
use bindgen::Builder;
32

43
fn main() {
54
println!("cargo:rustc-link-search=./program/c/target");
65

7-
// Make a parser and to it type, traits pairs
8-
let parser = build_utils::DeriveAdderParserCallback::new();
9-
106
// Generate and write bindings
117
let bindings = Builder::default()
128
.clang_arg("-I../../../solana/sdk/bpf/c/inc/")
139
.header("./src/bindings.h")
14-
.parse_callbacks(Box::new(parser))
1510
.rustfmt_bindings(true)
1611
.generate()
1712
.expect("Unable to generate bindings");

program/rust/build_utils.rs

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)