Skip to content

Commit c9cdf56

Browse files
committed
Merge branch 'post-11' into post-12
2 parents 2a393c5 + f5b5251 commit c9cdf56

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/lib.rs

-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#![cfg_attr(test, no_main)]
33
#![feature(custom_test_frameworks)]
44
#![feature(abi_x86_interrupt)]
5-
#![feature(alloc_error_handler)]
65
#![feature(const_mut_refs)]
76
#![test_runner(crate::test_runner)]
87
#![reexport_test_harness_main = "test_main"]
@@ -95,8 +94,3 @@ fn test_kernel_main(_boot_info: &'static BootInfo) -> ! {
9594
fn panic(info: &PanicInfo) -> ! {
9695
test_panic_handler(info)
9796
}
98-
99-
#[alloc_error_handler]
100-
fn alloc_error_handler(layout: alloc::alloc::Layout) -> ! {
101-
panic!("allocation error: {:?}", layout)
102-
}

0 commit comments

Comments
 (0)