Support checking the execution limit exceeded error.

This commit is contained in:
losfair
2019-06-05 11:51:33 +08:00
parent 0867208e0c
commit f2d8aad73a
4 changed files with 17 additions and 6 deletions

View File

@ -8,6 +8,7 @@ use crate::{
types::{FuncIndex, FuncSig, SigIndex},
};
use smallvec::SmallVec;
use std::any::Any;
use std::fmt;
use std::fmt::Debug;
use std::marker::PhantomData;
@ -43,7 +44,7 @@ impl fmt::Debug for InternalEvent {
}
pub struct BkptInfo {
pub throw: unsafe extern "C" fn() -> !,
pub throw: unsafe fn(Box<dyn Any>) -> !,
}
pub trait ModuleCodeGenerator<FCG: FunctionCodeGenerator<E>, RM: RunnableModule, E: Debug> {