Skip to content

Commit 2568661

Browse files
committed
[Rust] Make CoreArchitecture::from_raw public
Need this for WARP FFI
1 parent 02503e2 commit 2568661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/src/architecture.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ pub struct CoreArchitecture {
14031403

14041404
impl CoreArchitecture {
14051405
// TODO: Leave a note on architecture lifetimes. Specifically that they are never freed.
1406-
pub(crate) unsafe fn from_raw(handle: *mut BNArchitecture) -> Self {
1406+
pub unsafe fn from_raw(handle: *mut BNArchitecture) -> Self {
14071407
debug_assert!(!handle.is_null());
14081408
CoreArchitecture { handle }
14091409
}

0 commit comments

Comments
 (0)