From f8aaf21991c2a5adcdca56f3638f321b2ccbe809 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Fri, 31 Jan 2025 13:11:41 -0500 Subject: [Rust] Make some core handles public This is a requirement if we want rust plugins to expose sane FFIs --- rust/src/basic_block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/basic_block.rs') diff --git a/rust/src/basic_block.rs b/rust/src/basic_block.rs index 67b85987..3e21094a 100644 --- a/rust/src/basic_block.rs +++ b/rust/src/basic_block.rs @@ -112,7 +112,7 @@ pub struct BasicBlock { } impl BasicBlock { - pub(crate) unsafe fn from_raw(handle: *mut BNBasicBlock, context: C) -> Self { + pub unsafe fn from_raw(handle: *mut BNBasicBlock, context: C) -> Self { Self { handle, context } } -- cgit v1.3.1