File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 1- pub struct Handler ;
2-
3- impl Handler {
4- pub unsafe fn new ( ) -> Handler {
5- Handler
6- }
7- }
8-
91#[ inline]
102pub unsafe fn init ( ) { }
113
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ use crate::fmt;
55use crate :: io;
66use crate :: mem;
77use crate :: sys:: hermit:: abi;
8- use crate :: sys:: stack_overflow;
98use crate :: time:: Duration ;
109use core:: u32;
1110
@@ -69,9 +68,6 @@ impl Thread {
6968
7069 extern "C" fn thread_start ( main : usize ) {
7170 unsafe {
72- // Next, set up our stack overflow handler which may get triggered if we run
73- // out of stack.
74- let _handler = stack_overflow:: Handler :: new ( ) ;
7571 // Finally, let's run some code.
7672 Box :: from_raw ( main as * mut Box < dyn FnOnce ( ) > ) ( ) ;
7773 }
You can’t perform that action at this time.
0 commit comments