aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/CheckObjectStep.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-01-31 13:44:06 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-01-31 15:09:35 -0700
commit16cdd1297ebfac534615eaeb8439a4e1de71837c (patch)
treeb70dae5d7206c02f7cf19167de1d4ef6604f3dca /lib/std/Build/CheckObjectStep.zig
parent77544683ddd5f4d577ecc9c92a2b52a276aed2a6 (diff)
downloadzig-16cdd1297ebfac534615eaeb8439a4e1de71837c.tar.gz
zig-16cdd1297ebfac534615eaeb8439a4e1de71837c.zip
rename std.Build.LibExeObjStep to std.Build.CompileStep
This matches the nomenclature internally: a Compilation is the main type that represents a single invokation of the compiler.
Diffstat (limited to 'lib/std/Build/CheckObjectStep.zig')
-rw-r--r--lib/std/Build/CheckObjectStep.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/CheckObjectStep.zig b/lib/std/Build/CheckObjectStep.zig
index 7907be1787..bfa5338927 100644
--- a/lib/std/Build/CheckObjectStep.zig
+++ b/lib/std/Build/CheckObjectStep.zig
@@ -42,7 +42,7 @@ pub fn runAndCompare(self: *CheckObjectStep) *EmulatableRunStep {
const dependencies_len = self.step.dependencies.items.len;
assert(dependencies_len > 0);
const exe_step = self.step.dependencies.items[dependencies_len - 1];
- const exe = exe_step.cast(std.Build.LibExeObjStep).?;
+ const exe = exe_step.cast(std.Build.CompileStep).?;
const emulatable_step = EmulatableRunStep.create(self.builder, "EmulatableRun", exe);
emulatable_step.step.dependOn(&self.step);
return emulatable_step;