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

Method compile_kernel_module_objects

src/compilation_pipeline.rs:1264–1273  ·  view source on GitHub ↗

Compile the kernel modules reachable from `my_kernel` via the qualified-import closure, deps first, as per-module objects. Mangling is off: the kernel links flat.

()

Source from the content-addressed store, hash-verified

1262 let mut object_refs = vec![stdlib_object];
1263 for (module_name, _) in kernel_modules {
1264 module_names.push(*module_name);
1265 }
1266 let kernel_refs: Vec<&AssembledOutput> = kernel_objects.iter().collect();
1267 object_refs.extend(kernel_refs);
1268
1269 let combined_stem = module_names.join("_");
1270 self.link_assembled_objects_named(
1271 &combined_stem,
1272 &module_names
1273 .iter()
1274 .zip(object_refs.iter())
1275 .map(|(n, o)| (*n, *o))
1276 .collect::<Vec<_>>(),

Callers

nothing calls this directly

Calls 7

get_stdlib_type_preludeFunction · 0.85
set_write_artifactsMethod · 0.80
set_string_prefixMethod · 0.80
set_module_manglingMethod · 0.80
set_target_modeMethod · 0.45
set_type_preludeMethod · 0.45

Tested by

no test coverage detected