Skip to content

Commit

Permalink
Error for no abi version
Browse files Browse the repository at this point in the history
  • Loading branch information
coolreader18 committed Nov 20, 2023
1 parent a33fa53 commit 3c084a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/core/src/host/wasmtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ pub fn make_actor(

if let Some(abi) = abi {
abi::verify_supported(WasmtimeModule::IMPLEMENTED_ABI, abi)?;
} else {
anyhow::bail!("unable to determine ABI of module")
}

let module = LINKER
Expand Down

0 comments on commit 3c084a4

Please sign in to comment.