diff --git a/src/runtime_config.rs b/src/runtime_config.rs index cb2586b..1b50ac6 100644 --- a/src/runtime_config.rs +++ b/src/runtime_config.rs @@ -102,7 +102,7 @@ pub enum DebugExit { } impl DebugExit { - pub fn default_x86() -> Self { + pub const fn default_x86() -> Self { Self::X86 { iobase: 0xf4, iosize: 0x4,