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

Function my_kernel_compiles

tests/integration/kernel_modules.rs:108–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106fn expected_record(size: usize, alignment: usize, fields: &[(&str, usize)]) -> RecordLayout {
107 RecordLayout {
108 size,
109 alignment,
110 fields: fields
111 .iter()
112 .map(|(name, offset)| ((*name).to_owned(), *offset))
113 .collect(),

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected