Skip to content

Commit

Permalink
Patch extra crates needed to unify build
Browse files Browse the repository at this point in the history
  • Loading branch information
joncinque committed Nov 25, 2024
1 parent ace0bf6 commit c58c2f3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/cargo-build-sbf/tests/crates/fail/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ solana-program = { path = "../../../../program", version = "=2.2.0" }
[lib]
crate-type = ["cdylib"]

[patch.crates-io]
solana-decode-error = { path = "../../../../decode-error" }
solana-instruction = { path = "../../../../instruction" }
solana-pubkey = { path = "../../../../pubkey" }

[workspace]
5 changes: 5 additions & 0 deletions sdk/cargo-build-sbf/tests/crates/noop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ solana-program = { path = "../../../../program", version = "=2.2.0" }
[lib]
crate-type = ["cdylib"]

[patch.crates-io]
solana-decode-error = { path = "../../../../decode-error" }
solana-instruction = { path = "../../../../instruction" }
solana-pubkey = { path = "../../../../pubkey" }

[workspace]
5 changes: 5 additions & 0 deletions sdk/cargo-build-sbf/tests/crates/package-metadata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@ solana-program = { path = "../../../../program", version = "=2.2.0" }
[lib]
crate-type = ["cdylib"]

[patch.crates-io]
solana-decode-error = { path = "../../../../decode-error" }
solana-instruction = { path = "../../../../instruction" }
solana-pubkey = { path = "../../../../pubkey" }

[workspace]
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ solana-program = { path = "../../../../program", version = "=2.2.0" }
[lib]
crate-type = ["cdylib"]

[patch.crates-io]
solana-decode-error = { path = "../../../../decode-error" }
solana-instruction = { path = "../../../../instruction" }
solana-pubkey = { path = "../../../../pubkey" }

[workspace]

[workspace.metadata.solana]
Expand Down

0 comments on commit c58c2f3

Please sign in to comment.