diff --git a/deps.zig b/deps.zig index f37dc7fe0a3157ef197fdca875a0e79eab4891b8..20eead54a8b55d6dc0ec545e8fd364da77d9b11a 100644 --- a/deps.zig +++ b/deps.zig @@ -1,3 +1,4 @@ +// zig fmt: off const std = @import("std"); const builtin = @import("builtin"); const Pkg = std.build.Pkg; diff --git a/src/cmd/fetch.zig b/src/cmd/fetch.zig index b8e98fa71032ed225b17837ce0c5a7e4f0b7ab2a..6b71ae2c9376ef51a2a4b1b3fc070a45832b9110 100644 --- a/src/cmd/fetch.zig +++ b/src/cmd/fetch.zig @@ -44,6 +44,7 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D defer f.close(); const w = f.writer(); + try w.writeAll("// zig fmt: off\n"); try w.writeAll("const std = @import(\"std\");\n"); try w.writeAll("const builtin = @import(\"builtin\");\n"); try w.writeAll("const Pkg = std.build.Pkg;\n");