pub fn createModule(translate_c: *TranslateC) *std.Build.Module translate_c: *TranslateC76
77
78
79
80
81
82
83pub fn createModule(translate_c: *TranslateC) *std.Build.Module {
return setUpModule(translate_c, translate_c.step.owner.createModule(.{
.root_source_file = translate_c.getOutput(),
.target = translate_c.target,
.optimize = translate_c.optimize,
.link_libc = translate_c.link_libc,
}));
}
Creates a private module from the translated source to be used by the current package, but not exposed to other packages depending on this one.
addModulecan be used instead to create a public module.