Function addAssemblyFile [src]

Prototype

pub fn addAssemblyFile(m: *Module, source: LazyPath) void

Parameters

m: *Modulesource: LazyPath

Source

pub fn addAssemblyFile(m: *Module, source: LazyPath) void { const b = m.owner; m.link_objects.append(b.allocator, .{ .assembly_file = source.dupe(b) }) catch @panic("OOM"); }