aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/Build')
-rw-r--r--lib/std/Build/Step/Run.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/std/Build/Step/Run.zig b/lib/std/Build/Step/Run.zig
index eede464ab6..b7ad1307fb 100644
--- a/lib/std/Build/Step/Run.zig
+++ b/lib/std/Build/Step/Run.zig
@@ -1334,9 +1334,6 @@ fn spawnChildAndCollect(
var child = std.process.Child.init(argv, arena);
if (run.cwd) |lazy_cwd| {
child.cwd = lazy_cwd.getPath2(b, &run.step);
- } else {
- child.cwd = b.build_root.path;
- child.cwd_dir = b.build_root.handle;
}
child.env_map = run.env_map orelse &b.graph.env_map;
child.request_resource_usage_statistics = true;