Skip to content

Commit 0025593

Browse files
committed
fixup! Added panic stubs for rr in libcalls
1 parent 6afb9c1 commit 0025593

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,7 @@ unsafe fn rr_hook(instance: &mut ComponentInstance, libcall: &str) -> Result<()>
508508
{
509509
let store = instance.store();
510510
if (*store).replay_enabled() {
511-
return Err(anyhow!(
512-
"Replay support for libcall {libcall:?} not yet supported!"
513-
));
511+
bail!("Replay support for libcall {libcall:?} not yet supported!");
514512
} else {
515513
use crate::rr::marker_events::CustomMessageEvent;
516514
(*store).record_event(|| CustomMessageEvent::from(libcall))?;

0 commit comments

Comments
 (0)