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

Add more comments about solana-program patch (downstream) #33965

Merged
merged 2 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,11 @@ crossbeam-epoch = { git = "https://github.com/solana-labs/crossbeam", rev = "fd2
# and we end up with two versions of `solana-program` and `solana-zk-token-sdk` and all of their
# dependencies in our build tree.
#
# If you are developing downstream using non-crates-io solana-program (local or
# forked repo, or from github rev, eg), duplicate the following patch statements
# in your Cargo.toml. If you still hit duplicate-type errors with the patch
# statements in place, refresh your Cargo.lock file.
CriesofCarrots marked this conversation as resolved.
Show resolved Hide resolved
#
# There is a similar override in `programs/sbf/Cargo.toml`. Please keep both comments and the
# overrides in sync.
solana-program = { path = "sdk/program" }
Expand Down
5 changes: 5 additions & 0 deletions programs/sbf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ targets = ["x86_64-unknown-linux-gnu"]
# and we end up with two versions of `solana-program` and `solana-zk-token-sdk` and all of their
# dependencies in our build tree.
#
# If you are developing downstream using non-crates-io solana-program (local or
# forked repo, or from github rev, eg), duplicate the following patch statements
# in your Cargo.toml. If you still hit duplicate-type errors with the patch
# statements in place, refresh your Cargo.lock file.
#
# There is a similar override in `../../Cargo.toml`. Please keep both comments and the
# overrides in sync.
solana-program = { path = "../../sdk/program" }
Expand Down