authorgravatar for lacc97@protonmail.chLuis Cáceres <lacc97@protonmail.ch> 2024-03-23 21:07:54+00:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2024-03-26 13:54:24+02:00
log29e41c6850feac60e908a46756c168cb3026381e
tree7b451e1ca064ddb832d2ef8e824097d112d35644
parent405502286d28baee4dc3a6152282d1e6fe6c6472

std.Build: dupe provided paths for Step.Fmt.create()


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/Build/Step/Fmt.zig+2-2
...@@ -29,8 +29,8 @@ pub fn create(owner: *std.Build, options: Options) *Fmt {...@@ -29,8 +29,8 @@ pub fn create(owner: *std.Build, options: Options) *Fmt {
29 .owner = owner,29 .owner = owner,
30 .makeFn = make,30 .makeFn = make,
31 }),31 }),
32 .paths = options.paths,32 .paths = owner.dupeStrings(options.paths),
33 .exclude_paths = options.exclude_paths,33 .exclude_paths = owner.dupeStrings(options.exclude_paths),
34 .check = options.check,34 .check = options.check,
35 };35 };
36 return self;36 return self;