Skip to content

Commit 50ce73a

Browse files
rbranElykDeer
authored andcommitted
Allow Rust CoreAPI FFI to implement Default
1 parent be6936a commit 50ce73a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/binaryninjacore-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ fn main() {
9696
.clang_arg("c++")
9797
.size_t_is_usize(true)
9898
.generate_comments(false)
99+
.derive_default(true)
99100
.allowlist_function("BN.*")
100101
.allowlist_var("BN_CURRENT_CORE_ABI_VERSION")
101102
.allowlist_var("BN_MINIMUM_CORE_ABI_VERSION")

0 commit comments

Comments
 (0)