[][src]Function ndless::process::abort

pub fn abort() -> !

WARNING

This will leak memory without careful planning, as it does not run any destructors! You need to make sure that all scopes end before calling this! You can use

fn main() {
    {
        // Main code
        let a = vec![5];
    }
    ndless::process::abort();
}

to ensure that no memory leaks.