diff options
Diffstat (limited to 'crates/windows-kernel-rs/src/allocator.rs')
| -rw-r--r-- | crates/windows-kernel-rs/src/allocator.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/windows-kernel-rs/src/allocator.rs b/crates/windows-kernel-rs/src/allocator.rs index 9c9f996..f45cb1e 100644 --- a/crates/windows-kernel-rs/src/allocator.rs +++ b/crates/windows-kernel-rs/src/allocator.rs @@ -15,7 +15,11 @@ use crate::version::VersionInfo; /// See issue #52191. #[alloc_error_handler] -fn alloc_error(_: Layout) -> ! { loop { x86_64::instructions::hlt() } } +fn alloc_error(_: Layout) -> ! { + loop { + x86_64::instructions::hlt() + } +} lazy_static! { /// The version of Microsoft Windows that is currently running. This is used by |