Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

fix: check if platform-tool/rust/bin/rustc exists #32350

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

yihau
Copy link
Contributor

@yihau yihau commented Jun 30, 2023

Problem

make a note here: this steps can reproduce the unexpected error

  1. cd to monorepo
  2. ./cargo-build-sbf --help
  3. rm -rf ~/.cache/solana
  4. ./cargo-build-sbf --help

Summary of Changes

check if rustc exists

(btw, feel free to just close this one and create a new one if you would like to refactor these code hehe)

@yihau yihau added automerge Merge this Pull Request automatically once CI passes v1.16 PRs that should be backported to v1.16 labels Jun 30, 2023
@yihau yihau requested a review from dmakarov June 30, 2023 17:38
@mergify mergify bot merged commit c657455 into solana-labs:master Jun 30, 2023
mergify bot pushed a commit that referenced this pull request Jun 30, 2023
fix: check platform-tool/rust/bin/rustc exist before use
(cherry picked from commit c657455)
yihau added a commit that referenced this pull request Jul 3, 2023
fix: check platform-tool/rust/bin/rustc exist before use
(cherry picked from commit c657455)
@yihau yihau deleted the fix-cargo-build-sbf branch July 3, 2023 08:21
mergify bot added a commit that referenced this pull request Jul 3, 2023
…32350) (#32351)

fix: check if platform-tool/rust/bin/rustc exists (#32350)

fix: check platform-tool/rust/bin/rustc exist before use
(cherry picked from commit c657455)

Co-authored-by: Yihau Chen <a122092487@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes v1.16 PRs that should be backported to v1.16
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants