| ... | @@ -100,7 +100,7 @@ pub fn generateZirData(self: *Autodoc) !void { | ... | @@ -100,7 +100,7 @@ pub fn generateZirData(self: *Autodoc) !void { |
| 100 | ) catch unreachable; | 100 | ) catch unreachable; |
| 101 | out.print(";", .{}) catch unreachable; | 101 | out.print(";", .{}) catch unreachable; |
| 102 | // copy main.js, index.html | 102 | // copy main.js, index.html |
| 103 | const special = try self.module.comp.zig_lib_directory.join(gpa, &.{ "std", "special", "docs", std.fs.path.sep_str }); | 103 | const special = try self.module.comp.zig_lib_directory.join(self.arena, &.{ "std", "special", "docs", std.fs.path.sep_str }); |
| 104 | var special_dir = std.fs.openDirAbsolute(special, .{}) catch unreachable; | 104 | var special_dir = std.fs.openDirAbsolute(special, .{}) catch unreachable; |
| 105 | defer special_dir.close(); | 105 | defer special_dir.close(); |
| 106 | special_dir.copyFile("main.js", output_dir, "main.js", .{}) catch unreachable; | 106 | special_dir.copyFile("main.js", output_dir, "main.js", .{}) catch unreachable; |