Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 1caeadd

Browse files
authored
track rust version when using local monorepo (#4064)
1 parent bd216c8 commit 1caeadd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

patch.crates-io.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ solana_dir=$(cd "$solana_dir" && pwd)
2424
cd "$(dirname "$0")"
2525

2626
source "$solana_dir"/scripts/read-cargo-variable.sh
27+
cp "$solana_dir"/rust-toolchain.toml .
28+
2729
# get version from Cargo.toml first. if it is empty, get it from other places.
2830
solana_ver="$(readCargoVariable version "$solana_dir"/Cargo.toml)"
2931
solana_ver=${solana_ver:-$(readCargoVariable version "$solana_dir"/sdk/Cargo.toml)}

0 commit comments

Comments
 (0)