| ... | @@ -171,6 +171,8 @@ const Executable = struct { | ... | @@ -171,6 +171,8 @@ const Executable = struct { |
| 171 | | 171 | |
| 172 | const cache_dir = Io.Dir.cwd().createDirPathOpen(io, cache_dir_path, .{}) catch |e| | 172 | const cache_dir = Io.Dir.cwd().createDirPathOpen(io, cache_dir_path, .{}) catch |e| |
| 173 | panic("failed to open directory '{s}': {t}", .{ cache_dir_path, e }); | 173 | panic("failed to open directory '{s}': {t}", .{ cache_dir_path, e }); |
| | 174 | cache_dir.createDirPath(io, "tmp") catch |e| |
| | 175 | panic("failed to create directory 'tmp': {t}", .{e}); |
| 174 | log_f = cache_dir.createFile(io, "tmp/libfuzzer.log", .{ .truncate = false }) catch |e| | 176 | log_f = cache_dir.createFile(io, "tmp/libfuzzer.log", .{ .truncate = false }) catch |e| |
| 175 | panic("failed to create file 'tmp/libfuzzer.log': {t}", .{e}); | 177 | panic("failed to create file 'tmp/libfuzzer.log': {t}", .{e}); |
| 176 | self.cache_f = cache_dir.createDirPathOpen(io, "f", .{}) catch |e| | 178 | self.cache_f = cache_dir.createDirPathOpen(io, "f", .{}) catch |e| |