summaryrefslogtreecommitdiff
path: root/rust/src/architecture.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-06-16 14:44:37 -0400
committerMason Reed <mason@vector35.com>2025-07-02 01:56:53 -0400
commitb53423da93809d71389127c41739247917688f37 (patch)
tree1701636c3af6645b646466273488482298e89e22 /rust/src/architecture.rs
parente665b12a11983b4999565313ba30370ca8a9f481 (diff)
[Rust] Make `CoreArchitecture::from_raw` public
Need this for WARP FFI
Diffstat (limited to 'rust/src/architecture.rs')
-rw-r--r--rust/src/architecture.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/architecture.rs b/rust/src/architecture.rs
index 3344b2af..d226230c 100644
--- a/rust/src/architecture.rs
+++ b/rust/src/architecture.rs
@@ -1403,7 +1403,7 @@ pub struct CoreArchitecture {
impl CoreArchitecture {
// TODO: Leave a note on architecture lifetimes. Specifically that they are never freed.
- pub(crate) unsafe fn from_raw(handle: *mut BNArchitecture) -> Self {
+ pub unsafe fn from_raw(handle: *mut BNArchitecture) -> Self {
debug_assert!(!handle.is_null());
CoreArchitecture { handle }
}