summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig16
1 files changed, 1 insertions, 15 deletions
diff --git a/build.zig b/build.zig
index fcb4b0b7..eef05b44 100644
--- a/build.zig
+++ b/build.zig
@@ -1370,7 +1370,7 @@ pub fn build(b: *std.Build) void {
if (b.args) |args| run_lspbench.addArgs(args);
run_lspbench.setCwd(b.path("."));
run_lspbench.has_side_effects = true;
- const lspbench_step = b.step("lspbench", "language-backend latency + feature matrix (-- [--json] [--check] [repo-root])");
+ const lspbench_step = b.step("lspbench", "language-backend latency + feature matrix (-- [--json] [--check] [repo-root]), or one query (-- probe <kind> <file> <line>:<col> [arg] [--reps N])");
lspbench_step.dependOn(&run_lspbench.step);
const run_lspbench_check = b.addRunArtifact(lspbench);
run_lspbench_check.addArg("--check");
@@ -1380,20 +1380,6 @@ pub fn build(b: *std.Build) void {
const lspbench_check_step = b.step("lspbench-check", "require every configured language probe to complete correctly");
lspbench_check_step.dependOn(&run_lspbench_check.step);
- const lspprobe = b.addExecutable(.{
- .name = "pardes-lspprobe",
- .root_module = b.createModule(.{
- .target = target,
- .optimize = optimize,
- .root_source_file = b.path("tools/lspprobe.zig"),
- .link_libc = true,
- }),
- });
- lspprobe.root_module.addImport("pardes", core_module);
- const run_lspprobe = b.addRunArtifact(lspprobe);
- if (b.args) |args| run_lspprobe.addArgs(args);
- const lspprobe_step = b.step("lspprobe", "one language query against the real seam (-- <kind> <file> <line>:<col> [arg] [--reps N])");
- lspprobe_step.dependOn(&run_lspprobe.step);
const locations_bench_step = b.step("locations-bench", "measure cold/warm result formatting (-Doptimize=ReleaseFast; CSV on stderr)");
if (optimize != .ReleaseFast) {