Skip to content

Commit d810042

Browse files
committed
silenced unused bindings warnings
1 parent 9e20c1b commit d810042

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

program/rust/src/c_oracle_header.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#![allow(non_upper_case_globals)]
22
#![allow(non_camel_case_types)]
33
#![allow(non_snake_case)]
4+
//we do not use all the variables in oracle.h, so this helps with the warnings
5+
#![allow(unused_variables)]
6+
#![allow(dead_code)]
47
//All the custom trait imports should go here
58
use borsh::{BorshSerialize, BorshDeserialize};
69
//bindings.rs is generated by build.rs to include

0 commit comments

Comments
 (0)