build: reuse the pinned engine target cache for its packer
build / mod (push) Failing after 18s

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
2026-11-03 00:27:02 +03:00
parent 8d5d0d1dd7
commit aab3e784b8
+1 -1
View File
@@ -123,7 +123,7 @@ def mod():
fork()
tool = packer_path()
if not tool.exists():
run([cargo(), "install", "--locked", "--no-default-features", "--root", tool.parent.parent,
run([cargo(), "install", "--locked", "--no-default-features", "--target-dir", FORK / "target", "--root", tool.parent.parent,
"--path", FORK / "crates" / "cargo-horizon-mod"])
# Invoke the pinned executable directly; PATH may contain an unrelated old packer.
build_env = dict(os.environ)