LCOV - differential code coverage report
Current view: top level - libs/utils/src - shutdown.rs (source / functions) Coverage Total Hit UBC
Current: cd44433dd675caa99df17a61b18949c8387e2242.info Lines: 0.0 % 4 0 4
Current Date: 2024-01-09 02:06:09 Functions: 0.0 % 1 0 1
Baseline: 66c52a629a0f4a503e193045e0df4c77139e344b.info
Baseline Date: 2024-01-08 15:34:46

           TLA  Line data    Source code
       1                 : /// Immediately terminate the calling process without calling
       2                 : /// atexit callbacks, C runtime destructors etc. We mainly use
       3                 : /// this to protect coverage data from concurrent writes.
       4 UBC           0 : pub fn exit_now(code: u8) -> ! {
       5               0 :     // SAFETY: exiting is safe, the ffi is not safe
       6               0 :     unsafe { nix::libc::_exit(code as _) };
       7               0 : }
        

Generated by: LCOV version 2.1-beta