Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Allow missing host functions
  • Loading branch information
bkchr committed Jan 18, 2024
commit 9fd1ca304ad06237d4f7c5a39ff4b8650623c40a
3 changes: 3 additions & 0 deletions core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ pub(crate) fn build_executor<H: HostFunctions>(shared: &SharedParams) -> WasmExe
))
.with_onchain_heap_alloc_strategy(heap_pages)
.with_offchain_heap_alloc_strategy(heap_pages)
// There is not that much we can do if someone is using unknown host functions.
// They would need to fork the `cli` to add their custom host functions.
.with_allow_missing_host_functions(true)
.build()
}

Expand Down