Skip to content

Commit 687fca2

Browse files
committed
Fix import uses
1 parent a420a59 commit 687fca2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

crates/wasmtime/src/runtime/component/component.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,8 @@ impl Component {
833833
&self.inner.realloc_func_type
834834
}
835835

836-
#[allow(unused)]
836+
#[allow(unused, reason = "used only for verification with wasmtime `rr` feature \
837+
and requires a lot of unnecessary gating across crates")]
837838
pub(crate) fn checksum(&self) -> &[u8; 32] {
838839
&self.inner.checksum
839840
}

crates/wasmtime/src/runtime/rr/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
//!
88
//! This module does NOT support RR for component builtins yet.
99
10-
#[cfg(all(feature = "rr", feature = "component-model-async"))]
11-
compile_error!("Support for `rr` not available with `component-model-async`");
12-
1310
use crate::config::{ModuleVersionStrategy, RecordSettings, ReplaySettings};
1411
use crate::prelude::*;
1512
use core::fmt;

0 commit comments

Comments
 (0)