| ... | ... | @@ -100,7 +100,7 @@ pub fn generateZirData(self: *Autodoc) !void { |
| 100 | 100 | ) catch unreachable; |
| 101 | 101 | out.print(";", .{}) catch unreachable; |
| 102 | 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 | 104 | var special_dir = std.fs.openDirAbsolute(special, .{}) catch unreachable; |
| 105 | 105 | defer special_dir.close(); |
| 106 | 106 | special_dir.copyFile("main.js", output_dir, "main.js", .{}) catch unreachable; |