(cherry picked from commit c217ee3a00
)
Co-authored-by: strykerin <dacosta.pereirafabio@gmail.com>
This commit is contained in:
@ -30,8 +30,7 @@ Solana Rust programs may depend directly on each other in order to gain access
|
|||||||
to instruction helpers when making [cross-program
|
to instruction helpers when making [cross-program
|
||||||
invocations](developing/../../programming-model/calling-between-programs.md#cross-program-invocations).
|
invocations](developing/../../programming-model/calling-between-programs.md#cross-program-invocations).
|
||||||
When doing so it's important to not pull in the dependent program's entrypoint
|
When doing so it's important to not pull in the dependent program's entrypoint
|
||||||
symbols because they may conflict with the program's own. To avoid this
|
symbols because they may conflict with the program's own. To avoid this, programs should define an `exclude_entrypoint` feature in `Cargo.toml` and use
|
||||||
,programs should define an `exclude_entrypoint` feature in `Cargo.toml` and use
|
|
||||||
to exclude the entrypoint.
|
to exclude the entrypoint.
|
||||||
|
|
||||||
- [Define the
|
- [Define the
|
||||||
|
Reference in New Issue
Block a user