mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-24 22:21:32 +00:00
Try fixing compilation on Windows.
This commit is contained in:
@ -66,12 +66,16 @@ impl fmt::Debug for InternalEvent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Information for a breakpoint
|
/// Information for a breakpoint
|
||||||
|
#[cfg(unix)]
|
||||||
pub struct BreakpointInfo<'a> {
|
pub struct BreakpointInfo<'a> {
|
||||||
/// Fault.
|
/// Fault.
|
||||||
#[cfg(unix)]
|
|
||||||
pub fault: Option<&'a FaultInfo>,
|
pub fault: Option<&'a FaultInfo>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Information for a breakpoint
|
||||||
|
#[cfg(not(unix))]
|
||||||
|
pub struct BreakpointInfo {}
|
||||||
|
|
||||||
/// A trait that represents the functions needed to be implemented to generate code for a module.
|
/// A trait that represents the functions needed to be implemented to generate code for a module.
|
||||||
pub trait ModuleCodeGenerator<FCG: FunctionCodeGenerator<E>, RM: RunnableModule, E: Debug> {
|
pub trait ModuleCodeGenerator<FCG: FunctionCodeGenerator<E>, RM: RunnableModule, E: Debug> {
|
||||||
/// Creates a new module code generator.
|
/// Creates a new module code generator.
|
||||||
|
Reference in New Issue
Block a user