| author | |
| committer | |
| log | 5644d68f147159d3be14378d6cce06e1fa200dc3 |
| tree | b2c9256315e3432a4bd1431f65c6767501976272 |
| parent | 43209551b73b670cbb1505fd5fc45980d763aa9c |
4 files changed, 14 insertions(+), 14 deletions(-)
lib/compiler/Maker.zig+1-1| ... | @@ -1781,7 +1781,7 @@ pub fn relativePath(maker: *const Maker, relative: Configuration.LazyPath.Relati | ... | @@ -1781,7 +1781,7 @@ pub fn relativePath(maker: *const Maker, relative: Configuration.LazyPath.Relati |
| 1781 | const graph = maker.graph; | 1781 | const graph = maker.graph; |
| 1782 | const c = &maker.scanned_config.configuration; | 1782 | const c = &maker.scanned_config.configuration; |
| 1783 | const sub_path = relative.sub_path.slice(c); | 1783 | const sub_path = relative.sub_path.slice(c); |
| 1784 | if (relative.flags.base == .zig_exe and sub_path.len != 0) @panic("TODO"); | 1784 | if (relative.flags.base == .zig_exe and sub_path.len != 0) @panic("TODO relativePath zig_exe"); |
| 1785 | return switch (relative.flags.base) { | 1785 | return switch (relative.flags.base) { |
| 1786 | .cwd => .{ | 1786 | .cwd => .{ |
| 1787 | .root_dir = .cwd(), | 1787 | .root_dir = .cwd(), |
lib/compiler/Maker/Fuzz.zig+6-6| ... | @@ -93,7 +93,7 @@ pub fn init( | ... | @@ -93,7 +93,7 @@ pub fn init( |
| 93 | defer rebuild_group.cancel(io); | 93 | defer rebuild_group.cancel(io); |
| 94 | 94 | ||
| 95 | for (all_steps) |step| { | 95 | for (all_steps) |step| { |
| 96 | if (true) @panic("TODO"); | 96 | if (true) @panic("TODO update the fuzzer"); |
| 97 | const run = step.cast(std.Build.Step.Run) orelse continue; | 97 | const run = step.cast(std.Build.Step.Run) orelse continue; |
| 98 | if (run.producer == null) continue; | 98 | if (run.producer == null) continue; |
| 99 | if (run.fuzz_tests.items.len == 0) continue; | 99 | if (run.fuzz_tests.items.len == 0) continue; |
| ... | @@ -110,7 +110,7 @@ pub fn init( | ... | @@ -110,7 +110,7 @@ pub fn init( |
| 110 | errdefer gpa.free(run_steps); | 110 | errdefer gpa.free(run_steps); |
| 111 | 111 | ||
| 112 | for (run_steps) |run_step_index| { | 112 | for (run_steps) |run_step_index| { |
| 113 | if (true) @panic("TODO"); | 113 | if (true) @panic("TODO update the fuzzer"); |
| 114 | assert(run_step_index.fuzz_tests.items.len > 0); | 114 | assert(run_step_index.fuzz_tests.items.len > 0); |
| 115 | if (run_step_index.rebuilt_executable == null) | 115 | if (run_step_index.rebuilt_executable == null) |
| 116 | fatal("one or more unit tests failed to be rebuilt in fuzz mode", .{}); | 116 | fatal("one or more unit tests failed to be rebuilt in fuzz mode", .{}); |
| ... | @@ -144,7 +144,7 @@ pub fn start(fuzz: *Fuzz) void { | ... | @@ -144,7 +144,7 @@ pub fn start(fuzz: *Fuzz) void { |
| 144 | fatal("unable to spawn coverage task: {t}", .{err}); | 144 | fatal("unable to spawn coverage task: {t}", .{err}); |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | if (true) @panic("TODO"); | 147 | if (true) @panic("TODO update the fuzzer"); |
| 148 | 148 | ||
| 149 | for (fuzz.run_steps) |run| { | 149 | for (fuzz.run_steps) |run| { |
| 150 | assert(run.rebuilt_executable != null); | 150 | assert(run.rebuilt_executable != null); |
| ... | @@ -221,7 +221,7 @@ fn fuzzWorkerRun(fuzz: *Fuzz, run: Configuration.Step.Index) void { | ... | @@ -221,7 +221,7 @@ fn fuzzWorkerRun(fuzz: *Fuzz, run: Configuration.Step.Index) void { |
| 221 | } | 221 | } |
| 222 | 222 | ||
| 223 | pub fn serveSourcesTar(fuzz: *Fuzz, req: *std.http.Server.Request) !void { | 223 | pub fn serveSourcesTar(fuzz: *Fuzz, req: *std.http.Server.Request) !void { |
| 224 | if (true) @panic("TODO"); | 224 | if (true) @panic("TODO update the fuzzer"); |
| 225 | assert(fuzz.mode == .forever); | 225 | assert(fuzz.mode == .forever); |
| 226 | const gpa = fuzz.maker.gpa; | 226 | const gpa = fuzz.maker.gpa; |
| 227 | 227 | ||
| ... | @@ -373,7 +373,7 @@ fn coverageRunCancelable(fuzz: *Fuzz) Io.Cancelable!void { | ... | @@ -373,7 +373,7 @@ fn coverageRunCancelable(fuzz: *Fuzz) Io.Cancelable!void { |
| 373 | } | 373 | } |
| 374 | } | 374 | } |
| 375 | fn prepareTables(fuzz: *Fuzz, run_step_index: Configuration.Step.Index, coverage_id: u64) error{ OutOfMemory, AlreadyReported, Canceled }!void { | 375 | fn prepareTables(fuzz: *Fuzz, run_step_index: Configuration.Step.Index, coverage_id: u64) error{ OutOfMemory, AlreadyReported, Canceled }!void { |
| 376 | if (true) @panic("TODO"); | 376 | if (true) @panic("TODO update the fuzzer"); |
| 377 | assert(fuzz.mode == .forever); | 377 | assert(fuzz.mode == .forever); |
| 378 | const ws = fuzz.mode.forever.ws; | 378 | const ws = fuzz.mode.forever.ws; |
| 379 | const maker = fuzz.maker; | 379 | const maker = fuzz.maker; |
| ... | @@ -538,7 +538,7 @@ fn addEntryPoint(fuzz: *Fuzz, coverage_id: u64, addr: u64) error{ AlreadyReporte | ... | @@ -538,7 +538,7 @@ fn addEntryPoint(fuzz: *Fuzz, coverage_id: u64, addr: u64) error{ AlreadyReporte |
| 538 | } | 538 | } |
| 539 | 539 | ||
| 540 | pub fn waitAndPrintReport(fuzz: *Fuzz) Io.Cancelable!void { | 540 | pub fn waitAndPrintReport(fuzz: *Fuzz) Io.Cancelable!void { |
| 541 | if (true) @panic("TODO"); | 541 | if (true) @panic("TODO update the fuzzer"); |
| 542 | assert(fuzz.mode == .limit); | 542 | assert(fuzz.mode == .limit); |
| 543 | const maker = fuzz.maker; | 543 | const maker = fuzz.maker; |
| 544 | const graph = maker.graph; | 544 | const graph = maker.graph; |
lib/compiler/Maker/Step/Compile.zig+5-5| ... | @@ -1037,7 +1037,7 @@ const PkgConfigResult = struct { | ... | @@ -1037,7 +1037,7 @@ const PkgConfigResult = struct { |
| 1037 | /// Run pkg-config for the given library name and parse the output, returning the arguments | 1037 | /// Run pkg-config for the given library name and parse the output, returning the arguments |
| 1038 | /// that should be passed to zig to link the given library. | 1038 | /// that should be passed to zig to link the given library. |
| 1039 | fn runPkgConfig(compile: *const Compile, maker: *const Maker, lib_name: []const u8) !PkgConfigResult { | 1039 | fn runPkgConfig(compile: *const Compile, maker: *const Maker, lib_name: []const u8) !PkgConfigResult { |
| 1040 | if (true) @panic("TODO"); | 1040 | if (true) @panic("TODO runPkgConfig"); |
| 1041 | const graph = maker.graph; | 1041 | const graph = maker.graph; |
| 1042 | const wl_rpath_prefix = "-Wl,-rpath,"; | 1042 | const wl_rpath_prefix = "-Wl,-rpath,"; |
| 1043 | 1043 | ||
| ... | @@ -1149,7 +1149,7 @@ fn runPkgConfig(compile: *const Compile, maker: *const Maker, lib_name: []const | ... | @@ -1149,7 +1149,7 @@ fn runPkgConfig(compile: *const Compile, maker: *const Maker, lib_name: []const |
| 1149 | } | 1149 | } |
| 1150 | 1150 | ||
| 1151 | fn checkCompileErrors(compile: *Compile, maker: *Maker) !void { | 1151 | fn checkCompileErrors(compile: *Compile, maker: *Maker) !void { |
| 1152 | if (true) @panic("TODO"); | 1152 | if (true) @panic("TODO checkCompileErrors"); |
| 1153 | // Clear this field so that it does not get printed by the build runner. | 1153 | // Clear this field so that it does not get printed by the build runner. |
| 1154 | const actual_eb = compile.step.result_error_bundle; | 1154 | const actual_eb = compile.step.result_error_bundle; |
| 1155 | compile.step.result_error_bundle = .empty; | 1155 | compile.step.result_error_bundle = .empty; |
| ... | @@ -1452,7 +1452,7 @@ fn appendModuleFlags( | ... | @@ -1452,7 +1452,7 @@ fn appendModuleFlags( |
| 1452 | if (target.query.get(conf)) |query| { | 1452 | if (target.query.get(conf)) |query| { |
| 1453 | try zig_args.ensureUnusedCapacity(gpa, 6); | 1453 | try zig_args.ensureUnusedCapacity(gpa, 6); |
| 1454 | 1454 | ||
| 1455 | if (true) @panic("TODO"); | 1455 | if (true) @panic("TODO appendModuleFlags"); |
| 1456 | 1456 | ||
| 1457 | zig_args.appendAssumeCapacity("-target"); | 1457 | zig_args.appendAssumeCapacity("-target"); |
| 1458 | zig_args.appendAssumeCapacity(try query.zigTriple(arena)); | 1458 | zig_args.appendAssumeCapacity(try query.zigTriple(arena)); |
| ... | @@ -1535,12 +1535,12 @@ fn appendIncludeDirFlags( | ... | @@ -1535,12 +1535,12 @@ fn appendIncludeDirFlags( |
| 1535 | }, | 1535 | }, |
| 1536 | .config_header_step => |ch| { | 1536 | .config_header_step => |ch| { |
| 1537 | zig_args.appendAssumeCapacity("-I"); | 1537 | zig_args.appendAssumeCapacity("-I"); |
| 1538 | if (true) @panic("TODO"); | 1538 | if (true) @panic("TODO appendIncludeDirFlags"); |
| 1539 | ch.getOutputDir(); | 1539 | ch.getOutputDir(); |
| 1540 | }, | 1540 | }, |
| 1541 | .other_step => |comp| { | 1541 | .other_step => |comp| { |
| 1542 | zig_args.appendAssumeCapacity("-I"); | 1542 | zig_args.appendAssumeCapacity("-I"); |
| 1543 | if (true) @panic("TODO"); | 1543 | if (true) @panic("TODO appendIncludeDirFlags"); |
| 1544 | comp.installed_headers_include_tree.?.getDirectory(); | 1544 | comp.installed_headers_include_tree.?.getDirectory(); |
| 1545 | }, | 1545 | }, |
| 1546 | .embed_path => |lazy_path| { | 1546 | .embed_path => |lazy_path| { |
lib/compiler/Maker/Step/Run.zig+2-2| ... | @@ -2296,12 +2296,12 @@ fn convertPathArg(run_index: Configuration.Step.Index, maker: *Maker, path: Path | ... | @@ -2296,12 +2296,12 @@ fn convertPathArg(run_index: Configuration.Step.Index, maker: *Maker, path: Path |
| 2296 | } | 2296 | } |
| 2297 | 2297 | ||
| 2298 | fn addPathForDynLibs(artifact: Configuration.Step.Index) void { | 2298 | fn addPathForDynLibs(artifact: Configuration.Step.Index) void { |
| 2299 | if (true) @panic("TODO"); | 2299 | if (true) @panic("TODO addPathForDynLibs"); |
| 2300 | for (artifact.getCompileDependencies(true)) |compile| { | 2300 | for (artifact.getCompileDependencies(true)) |compile| { |
| 2301 | if (compile.root_module.resolved_target.?.result.os.tag == .windows and | 2301 | if (compile.root_module.resolved_target.?.result.os.tag == .windows and |
| 2302 | compile.isDynamicLibrary()) | 2302 | compile.isDynamicLibrary()) |
| 2303 | { | 2303 | { |
| 2304 | @panic("TODO"); | 2304 | @panic("TODO addPathForDynLibs"); |
| 2305 | //addPathDir(run, Dir.path.dirname(compile.getEmittedBin().getPath2(b, step)).?); | 2305 | //addPathDir(run, Dir.path.dirname(compile.getEmittedBin().getPath2(b, step)).?); |
| 2306 | } | 2306 | } |
| 2307 | } | 2307 | } |