mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std.Build: dupe provided paths for Step.Fmt.create()
This commit is contained in:
parent
405502286d
commit
29e41c6850
@ -29,8 +29,8 @@ pub fn create(owner: *std.Build, options: Options) *Fmt {
|
||||
.owner = owner,
|
||||
.makeFn = make,
|
||||
}),
|
||||
.paths = options.paths,
|
||||
.exclude_paths = options.exclude_paths,
|
||||
.paths = owner.dupeStrings(options.paths),
|
||||
.exclude_paths = owner.dupeStrings(options.exclude_paths),
|
||||
.check = options.check,
|
||||
};
|
||||
return self;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user