Remove Xargo.toml reference (#22239)

(cherry picked from commit 56fd32bda2)

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2022-01-03 17:39:19 +00:00
committed by GitHub
parent 264bb903a3
commit 735f000952

View File

@ -16,19 +16,6 @@ layout](https://doc.rust-lang.org/cargo/guide/project-layout.html):
/Cargo.toml /Cargo.toml
``` ```
But must also include:
```
/Xargo.toml
```
Which must contain:
```
[target.bpfel-unknown-unknown.dependencies.std]
features = []
```
Solana Rust programs may depend directly on each other in order to gain access Solana Rust programs may depend directly on each other in order to gain access
to instruction helpers when making [cross-program invocations](developing/programming-model/calling-between-programs.md#cross-program-invocations). to instruction helpers when making [cross-program 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