mirror of
https://github.com/ziglang/zig.git
synced 2025-12-27 00:23:22 +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,
|
.owner = owner,
|
||||||
.makeFn = make,
|
.makeFn = make,
|
||||||
}),
|
}),
|
||||||
.paths = options.paths,
|
.paths = owner.dupeStrings(options.paths),
|
||||||
.exclude_paths = options.exclude_paths,
|
.exclude_paths = owner.dupeStrings(options.exclude_paths),
|
||||||
.check = options.check,
|
.check = options.check,
|
||||||
};
|
};
|
||||||
return self;
|
return self;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user