Function addObjectFile [src]
Prototype
pub fn addObjectFile(m: *Module, object: LazyPath) void
Parameters
m: *Module
object: LazyPath
Source
pub fn addObjectFile(m: *Module, object: LazyPath) void {
const b = m.owner;
m.link_objects.append(b.allocator, .{ .static_path = object.dupe(b) }) catch @panic("OOM");
}