Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ shouldfail
Function
shouldfail
tests/shouldpanic.rs:16–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
}
15
16
fn shouldfail()
17
{
18
serprint!(
"SHOULDPANIC::SHOULDFAIL...\t"
);
19
assert_eq!(0, 1);
20
}
21
22
#[panic_handler]
23
fn panic(_info: &PanicInfo) -> !
Callers
1
_start
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected