Skip to content

Commit

Permalink
Missing file?
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Sep 2, 2024
1 parent f16932b commit 21c3e8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions src/bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 21c3e8d

Please sign in to comment.