| ... | ... | @@ -1,3 +1,4 @@ |
| 1 | const builtin = @import("builtin"); |
| 1 | 2 | const std = @import("std"); |
| 2 | 3 | const build_options = @import("build_options"); |
| 3 | 4 | const Autodoc = @This(); |
| ... | ... | @@ -254,7 +255,7 @@ pub fn generateZirData(self: *Autodoc) !void { |
| 254 | 255 | try std.json.stringify( |
| 255 | 256 | data, |
| 256 | 257 | .{ |
| 257 | | .whitespace = .{}, |
| 258 | .whitespace = .{ .indent = if (builtin.mode == .Debug) .{ .Space = 4 } else .None }, |
| 258 | 259 | .emit_null_optional_fields = false, |
| 259 | 260 | }, |
| 260 | 261 | out, |