0

Update rust.md docs to remove patching script

apply_patches.sh no longer exists since this is now handled by
gnrt vendor. All of the necessary docs are already present so this
just removes the out of date part.

Change-Id: Id42e7afe7e043705a99bb3a9b89dab57a5d36add
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5116813
Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
Commit-Queue: Nabil Wadih <nwadih@google.com>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1237732}
This commit is contained in:
Nabil Wadih
2023-12-14 21:10:42 +00:00
committed by Chromium LUCI CQ
parent 48aa61de54
commit a861644645

@@ -67,10 +67,6 @@ To use a third-party crate "bar" version 3 from first party code:
* `git add -f third_party/rust/chromium_crates_io/vendor` * `git add -f third_party/rust/chromium_crates_io/vendor`
* The `-f` is important, as files may be skipped otherwise from a * The `-f` is important, as files may be skipped otherwise from a
`.gitignore` inside the crate. `.gitignore` inside the crate.
1. If a crate in `//third_party/rust/chromium_crates_io/patches` was updated
as part of vendoring, then reapply patches to it:
* Go to the `//third_party/rust/chromium_crates_io` directory.
* `./apply_patches.sh` (this currently requires linux).
1. (optional) If the crate is only to be used by tests and tooling, then 1. (optional) If the crate is only to be used by tests and tooling, then
specify the `"test"` group in `//third_party/rust/chromium_crates_io/gnrt_config.toml`: specify the `"test"` group in `//third_party/rust/chromium_crates_io/gnrt_config.toml`:
``` ```