mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
fix std.Build.addAssembly
This commit is contained in:
parent
c45af2af61
commit
3cd3052d4d
@ -839,7 +839,7 @@ pub fn addAssembly(b: *Build, options: AssemblyOptions) *Step.Compile {
|
||||
.max_rss = options.max_rss,
|
||||
.zig_lib_dir = options.zig_lib_dir orelse b.zig_lib_dir,
|
||||
});
|
||||
obj_step.addAssemblyLazyPath(options.source_file.dupe(b));
|
||||
obj_step.addAssemblyFile(options.source_file);
|
||||
return obj_step;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user