Implement native RLV callback service integration (#80)
Some checks failed
Native code generation / deterministic (push) Failing after 8m21s
Imaging and meshing gate / native (push) Failing after 4m52s
Native Rust workspace compile / compile (push) Failing after 7m14s

This commit is contained in:
2026-08-11 01:00:48 +00:00
parent 362fa62059
commit 2f1c15c081
18 changed files with 2687 additions and 624 deletions

View File

@@ -305,7 +305,7 @@ impl IRlvQueryCallbacks for RecordingQueries {
&self,
_: CancellationToken,
) -> QueryFuture<'_, (bool, Option<InventoryMap>)> {
let value = self.0.lock().unwrap().inventory_map.take();
let value = self.0.lock().unwrap().inventory_map.clone();
Box::pin(async move { Ok((value.is_some(), value)) })
}
@@ -326,7 +326,7 @@ impl RlvHarness {
///
/// # Errors
///
/// Returns the standardized constructor error while the public RLV service is a shim.
/// Returns an error if the native RLV service cannot be initialized.
pub fn new() -> Result<Self, Error> {
let action_callbacks = RecordingActions::default();
let query_callbacks = RecordingQueries::default();