diff --git a/lib/runtime-core/src/codegen.rs b/lib/runtime-core/src/codegen.rs index 8cf1b6040..000f13639 100644 --- a/lib/runtime-core/src/codegen.rs +++ b/lib/runtime-core/src/codegen.rs @@ -66,12 +66,16 @@ impl fmt::Debug for InternalEvent { } /// Information for a breakpoint +#[cfg(unix)] pub struct BreakpointInfo<'a> { /// Fault. - #[cfg(unix)] 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. pub trait ModuleCodeGenerator, RM: RunnableModule, E: Debug> { /// Creates a new module code generator.