commit 3cd3052d4d303dbae7d517fa40f6d171c957afdd (tree) parent c45af2af6168c7a3cf1bf9e50f6fc1a95b486ce8 Author: Lee Cannon <leecannon@leecannon.xyz> Date: Fri, 20 Oct 2023 12:03:45 +0100 fix `std.Build.addAssembly` Diffstat:
| M | lib/std/Build.zig | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/Build.zig b/lib/std/Build.zig @@ -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; }