| author | |
| committer | |
| log | 6f87f49f3ddf4fb56f8b4e2ff86d1020ab2dd690 |
| tree | e6a1410b180e179794f30172ab91ede523083ad2 |
| parent | 8dcb1eba60ebdb35b92860e586b0113630dcf6ac |
These options were removed in 5e63baae8 (CLI: remove --verbose-ast and
--verbose-tokenize, 2021-06-09) but some remainders were left in.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>3 files changed, 0 insertions(+), 14 deletions(-)
lib/std/build.zig-6| ... | @@ -34,8 +34,6 @@ pub const Builder = struct { | ... | @@ -34,8 +34,6 @@ pub const Builder = struct { |
| 34 | available_options_map: AvailableOptionsMap, | 34 | available_options_map: AvailableOptionsMap, |
| 35 | available_options_list: ArrayList(AvailableOption), | 35 | available_options_list: ArrayList(AvailableOption), |
| 36 | verbose: bool, | 36 | verbose: bool, |
| 37 | verbose_tokenize: bool, | ||
| 38 | verbose_ast: bool, | ||
| 39 | verbose_link: bool, | 37 | verbose_link: bool, |
| 40 | verbose_cc: bool, | 38 | verbose_cc: bool, |
| 41 | verbose_air: bool, | 39 | verbose_air: bool, |
| ... | @@ -172,8 +170,6 @@ pub const Builder = struct { | ... | @@ -172,8 +170,6 @@ pub const Builder = struct { |
| 172 | .cache_root = try fs.path.relative(allocator, build_root, cache_root), | 170 | .cache_root = try fs.path.relative(allocator, build_root, cache_root), |
| 173 | .global_cache_root = global_cache_root, | 171 | .global_cache_root = global_cache_root, |
| 174 | .verbose = false, | 172 | .verbose = false, |
| 175 | .verbose_tokenize = false, | ||
| 176 | .verbose_ast = false, | ||
| 177 | .verbose_link = false, | 173 | .verbose_link = false, |
| 178 | .verbose_cc = false, | 174 | .verbose_cc = false, |
| 179 | .verbose_air = false, | 175 | .verbose_air = false, |
| ... | @@ -2405,8 +2401,6 @@ pub const LibExeObjStep = struct { | ... | @@ -2405,8 +2401,6 @@ pub const LibExeObjStep = struct { |
| 2405 | try zig_args.append(log_scope); | 2401 | try zig_args.append(log_scope); |
| 2406 | } | 2402 | } |
| 2407 | 2403 | ||
| 2408 | if (builder.verbose_tokenize) zig_args.append("--verbose-tokenize") catch unreachable; | ||
| 2409 | if (builder.verbose_ast) zig_args.append("--verbose-ast") catch unreachable; | ||
| 2410 | if (builder.verbose_cimport) zig_args.append("--verbose-cimport") catch unreachable; | 2404 | if (builder.verbose_cimport) zig_args.append("--verbose-cimport") catch unreachable; |
| 2411 | if (builder.verbose_air) zig_args.append("--verbose-air") catch unreachable; | 2405 | if (builder.verbose_air) zig_args.append("--verbose-air") catch unreachable; |
| 2412 | if (builder.verbose_llvm_ir) zig_args.append("--verbose-llvm-ir") catch unreachable; | 2406 | if (builder.verbose_llvm_ir) zig_args.append("--verbose-llvm-ir") catch unreachable; |
lib/std/special/build_runner.zig-6| ... | @@ -147,10 +147,6 @@ pub fn main() !void { | ... | @@ -147,10 +147,6 @@ pub fn main() !void { |
| 147 | std.debug.print("Expected argument after --glibc-runtimes\n\n", .{}); | 147 | std.debug.print("Expected argument after --glibc-runtimes\n\n", .{}); |
| 148 | return usageAndErr(builder, false, stderr_stream); | 148 | return usageAndErr(builder, false, stderr_stream); |
| 149 | }; | 149 | }; |
| 150 | } else if (mem.eql(u8, arg, "--verbose-tokenize")) { | ||
| 151 | builder.verbose_tokenize = true; | ||
| 152 | } else if (mem.eql(u8, arg, "--verbose-ast")) { | ||
| 153 | builder.verbose_ast = true; | ||
| 154 | } else if (mem.eql(u8, arg, "--verbose-link")) { | 150 | } else if (mem.eql(u8, arg, "--verbose-link")) { |
| 155 | builder.verbose_link = true; | 151 | builder.verbose_link = true; |
| 156 | } else if (mem.eql(u8, arg, "--verbose-air")) { | 152 | } else if (mem.eql(u8, arg, "--verbose-air")) { |
| ... | @@ -310,8 +306,6 @@ fn usage(builder: *Builder, already_ran_build: bool, out_stream: anytype) !void | ... | @@ -310,8 +306,6 @@ fn usage(builder: *Builder, already_ran_build: bool, out_stream: anytype) !void |
| 310 | \\ --cache-dir [path] Override path to zig cache directory | 306 | \\ --cache-dir [path] Override path to zig cache directory |
| 311 | \\ --zig-lib-dir [arg] Override path to Zig lib directory | 307 | \\ --zig-lib-dir [arg] Override path to Zig lib directory |
| 312 | \\ --debug-log [scope] Enable debugging the compiler | 308 | \\ --debug-log [scope] Enable debugging the compiler |
| 313 | \\ --verbose-tokenize Enable compiler debug output for tokenization | ||
| 314 | \\ --verbose-ast Enable compiler debug output for parsing into an AST | ||
| 315 | \\ --verbose-link Enable compiler debug output for linking | 309 | \\ --verbose-link Enable compiler debug output for linking |
| 316 | \\ --verbose-air Enable compiler debug output for Zig AIR | 310 | \\ --verbose-air Enable compiler debug output for Zig AIR |
| 317 | \\ --verbose-llvm-ir Enable compiler debug output for LLVM IR | 311 | \\ --verbose-llvm-ir Enable compiler debug output for LLVM IR |
src/stage1/zig0.cpp-2| ... | @@ -51,8 +51,6 @@ static int print_full_usage(const char *arg0, FILE *file, int return_code) { | ... | @@ -51,8 +51,6 @@ static int print_full_usage(const char *arg0, FILE *file, int return_code) { |
| 51 | " --strip exclude debug symbols\n" | 51 | " --strip exclude debug symbols\n" |
| 52 | " -target [name] <arch>-<os>-<abi> see the targets command\n" | 52 | " -target [name] <arch>-<os>-<abi> see the targets command\n" |
| 53 | " -mcpu [cpu] specify target CPU and feature set\n" | 53 | " -mcpu [cpu] specify target CPU and feature set\n" |
| 54 | " --verbose-tokenize enable compiler debug output for tokenization\n" | ||
| 55 | " --verbose-ast enable compiler debug output for AST parsing\n" | ||
| 56 | " --verbose-ir enable compiler debug output for Zig IR\n" | 54 | " --verbose-ir enable compiler debug output for Zig IR\n" |
| 57 | " --verbose-llvm-ir enable compiler debug output for LLVM IR\n" | 55 | " --verbose-llvm-ir enable compiler debug output for LLVM IR\n" |
| 58 | " --verbose-cimport enable compiler debug output for C imports\n" | 56 | " --verbose-cimport enable compiler debug output for C imports\n" |