diff --git a/ffi/rust/firedancer-sys/build.rs b/ffi/rust/firedancer-sys/build.rs index a9295b239c..bfdde23542 100644 --- a/ffi/rust/firedancer-sys/build.rs +++ b/ffi/rust/firedancer-sys/build.rs @@ -62,7 +62,7 @@ fn main() { .clang_arg(format!("-I{prefix}/")) .header(&format!("wrapper_{lib}.h")) .blocklist_type("schar|uchar|ushort|uint|ulong") - .blocklist_item("SORT_QUICK_ORDER_STYLE|SORT_MERGE_THRESH|SORT_QUICK_THRESH|SORT_QUICK_ORDER_STYLE|SORT_QUICK_SWAP_MINIMIZE"); + .blocklist_item("SORT_QUICK_ORDER_STYLE|SORT_MERGE_THRESH|SORT_QUICK_THRESH|SORT_QUICK_ORDER_STYLE|SORT_QUICK_SWAP_MINIMIZE|MAP_MEMOIZE|MAP_QUERY_OPT|MAP_KEY_EQUAL_IS_SLOW"); // Well this is a complete mess. We want to only include, say, functions // declared in the `ballet` directory in the ballet bindgen output. If diff --git a/ffi/rust/firedancer-sys/src/tango/mod.rs b/ffi/rust/firedancer-sys/src/tango/mod.rs index 77d451c0a7..3c515a4f0f 100644 --- a/ffi/rust/firedancer-sys/src/tango/mod.rs +++ b/ffi/rust/firedancer-sys/src/tango/mod.rs @@ -5,6 +5,7 @@ mod fseq; mod mcache; mod tcache; mod xdp; +mod stake; pub use cnc::*; pub use dcache::*; @@ -13,3 +14,4 @@ pub use fseq::*; pub use mcache::*; pub use tcache::*; pub use xdp::*; +pub use stake::*; diff --git a/ffi/rust/firedancer-sys/src/tango/stake.rs b/ffi/rust/firedancer-sys/src/tango/stake.rs index 7876444e07..a5a73e02e1 100644 --- a/ffi/rust/firedancer-sys/src/tango/stake.rs +++ b/ffi/rust/firedancer-sys/src/tango/stake.rs @@ -6,7 +6,7 @@ pub use crate::generated::{ fd_stake_new, fd_stake_version, fd_stake_version_laddr, - fd_stake_write, + fd_stake_deser, fd_stake_read, fd_stake_dump, FD_STAKE_ALIGN diff --git a/src/tango/fd_tango.h b/src/tango/fd_tango.h index f2b8eb611e..232e037466 100644 --- a/src/tango/fd_tango.h +++ b/src/tango/fd_tango.h @@ -10,6 +10,7 @@ #include "dcache/fd_dcache.h" /* Includes fd_tango_base.h */ #include "tcache/fd_tcache.h" /* Includes fd_tango_base.h */ #include "aio/fd_aio.h" /* Includes fd_tango_base.h */ +#include "stake/fd_stake.h" /* Includes fd_tango_base.h */ #endif /* HEADER_fd_src_tango_fd_tango_h */