File tree Expand file tree Collapse file tree 5 files changed +3
-4
lines changed Expand file tree Collapse file tree 5 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,7 @@ fn lang_start_internal(
146146 panic:: catch_unwind ( cleanup) . map_err ( rt_abort) ?;
147147 // Guard against multple threads calling `libc::exit` concurrently.
148148 // See the documentation for `unique_thread_exit` for more information.
149- panic:: catch_unwind ( || crate :: sys:: common:: exit_guard:: unique_thread_exit ( ) )
150- . map_err ( rt_abort) ?;
149+ panic:: catch_unwind ( || crate :: sys:: exit_guard:: unique_thread_exit ( ) ) . map_err ( rt_abort) ?;
151150 ret_code
152151}
153152
File renamed without changes.
Original file line number Diff line number Diff line change 33/// descriptors.
44mod pal;
55
6+ pub ( crate ) mod exit_guard;
67mod personality;
78
89pub mod backtrace;
Original file line number Diff line number Diff line change 1111#![ allow( dead_code) ]
1212
1313pub mod alloc;
14- pub mod exit_guard;
1514pub mod small_c_string;
1615
1716#[ cfg( test) ]
Original file line number Diff line number Diff line change @@ -758,7 +758,7 @@ pub fn home_dir() -> Option<PathBuf> {
758758}
759759
760760pub fn exit ( code : i32 ) -> ! {
761- crate :: sys:: common :: exit_guard:: unique_thread_exit ( ) ;
761+ crate :: sys:: exit_guard:: unique_thread_exit ( ) ;
762762 unsafe { libc:: exit ( code as c_int ) }
763763}
764764
You can’t perform that action at this time.
0 commit comments