From 21c3e8dbda11841b7dfaa18dfb0336fde4e1010f Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 2 Sep 2024 07:42:39 -0700 Subject: [PATCH] Missing file? --- .github/workflows/ci.yml | 2 ++ src/bootstrap/bootstrap.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75fe04ae655fa..1ff66b5f90f29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,6 +109,8 @@ jobs: - run: Get-MpComputerStatus shell: powershell + - run: ls -al + # Rust Log Analyzer can't currently detect the PR number of a GitHub # Actions build on its own, so a hint in the log message is needed to # point it in the right direction. diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 9861121aac0a3..ff66315de5a56 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -1002,6 +1002,9 @@ def build_bootstrap_cmd(self, env): env["PATH"] = os.path.join(self.bin_root(), "bin") + \ os.pathsep + env["PATH"] if not os.path.isfile(self.cargo()): + parent=os.path.dirname(self.cargo()) + subprocess.run(['ls', '-al']) + subprocess.run(['ls', '-al', parent]) raise Exception("no cargo executable found at `{}`".format( self.cargo())) args = [self.cargo(), "build", "--manifest-path",