Remove Xargo.toml reference (#22239)

(cherry picked from commit 56fd32bda21c133307355fbb6243153bc71edbfb)

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,19 +16,6 @@ layout](https://doc.rust-lang.org/cargo/guide/project-layout.html):
/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
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