MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / _start

Function _start

tests/shouldpanic.rs:8–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7#[no_mangle]
8pub extern "C" fn _start() -> !
9{
10 shouldfail();
11 serprintln!("[ERR] TEST DID NOT PANIC");
12 exitqemu(QEMUExitCode::Failure);
13 loop {}
14}
15
16fn shouldfail()
17{

Callers

nothing calls this directly

Calls 2

shouldfailFunction · 0.85
exitqemuFunction · 0.85

Tested by

no test coverage detected