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/rc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/rc.rs') diff --git a/rust/src/rc.rs b/rust/src/rc.rs index 84168876..f6abb036 100644 --- a/rust/src/rc.rs +++ b/rust/src/rc.rs @@ -55,7 +55,7 @@ impl Ref { Self { contents } } - pub(crate) unsafe fn into_raw(obj: Self) -> T { + pub unsafe fn into_raw(obj: Self) -> T { let res = ptr::read(&obj.contents); mem::forget(obj); res -- cgit v1.3.1