MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / f

Function f

user/src/bin/stack_overflow.rs:8–13  ·  view source on GitHub ↗
(depth: usize)

Source from the content-addressed store, hash-verified

6
7#[allow(unconditional_recursion)]
8fn f(depth: usize) {
9 if depth % 10 == 0 {
10 println!("depth = {}", depth);
11 }
12 f(depth + 1);
13}
14
15#[no_mangle]
16pub fn main() -> i32 {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected