fix std.Build.addAssembly

This commit is contained in:
Lee Cannon 2023-10-20 12:03:45 +01:00 committed by Andrew Kelley
parent c45af2af61
commit 3cd3052d4d

View File

@ -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;
}