[roll] Roll fuchsia [rbe][rust] Transform args in rspfiles

For dep-scanning, use .rmeta files if they exist,
so that full .rlibs do not need to be downloaded.

Now that --extern args can appear inside rspfiles,
we need to transform them for the purposes of dep-scanning
when using only rmeta files.

e.g. '--extern foolib=path/to/foolib.rlib' becomes
     '--extern foolib=path/to/foolib.rmeta'

Auxiliary rspfiles are written next to their original copies
and the dep-scanning command (and affected rspfiles)
reference these modified rspfiles.  (This can happen recursively.)

The auxiliary rspfiles are cleaned-up, but can be examined with
--save-temps.

Original-Bug: 338256510
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1044458
Original-Revision: 696eb5169b1fd52dd255f76583fb74cad1649694
GitOrigin-RevId: ffb4b788222c4fe81395fe104721b146f9513cb9
Change-Id: If0f1153df69492da4f833c0b239b0a5dfadd8437
1 file changed
tree: c9348179152f84aed1607b07f196171d4de93f95
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.