From ea82d201e7efb2065d0cea459bea0fcda1985762 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 19 May 2026 20:01:42 -0400 Subject: Refactor calling convention Rust API to allow default implementations Also implements the new calling convention APIs in Rust --- rust/src/ffi.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust/src/ffi.rs') diff --git a/rust/src/ffi.rs b/rust/src/ffi.rs index aaa4851e..66e5f70f 100644 --- a/rust/src/ffi.rs +++ b/rust/src/ffi.rs @@ -14,6 +14,8 @@ use std::time::{Duration, SystemTime, UNIX_EPOCH}; +pub(crate) const INVALID_REGISTER: u32 = 0xffff_ffff; + macro_rules! ffi_wrap { ($n:expr, $b:expr) => {{ use std::panic; -- cgit v1.3.1