MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / kernel_code_modules

Function kernel_code_modules

crates/os-runtime/tests/boot.rs:133–148  ·  view source on GitHub ↗

The kernel modules with code to compile: true stdlib + boot entry (from the stdlib list) plus the kernel modules proper. `layout` is header-only and `my_kernel` is the user unit.

()

Source from the content-addressed store, hash-verified

131 continue;
132 };
133 if short.is_empty() {
134 continue;
135 }
136 match aliases.get(short) {
137 Some(existing) if existing != *export => {
138 aliases.remove(short);
139 }
140 Some(_) => {}
141 None => {
142 aliases.insert(short.to_owned(), (*export).clone());
143 }
144 }
145 }
146 }
147 for export in &sorted_exports {
148 if let Some(short) = export.strip_prefix('k')
149 && short
150 .chars()
151 .next()

Callers 1

compiled_stdlibFunction · 0.85

Calls 1

Tested by

no test coverage detected