[roll] Roll infra/recipes [rust] Trim whitespace from env variables

This fixes a bug we have had since fxr/1365276 that caused us to
pass incorrect command-line arguments to x.py in the rust toolchain
recipe.

Previously, we passed:
  '--test-args',
  '--target-rustcflags',
  '--test-args',
  '-Cforce-unwind-tables=yes',
  '--test-args',
  '--remote-test-client',

After that change we passed:
  '--test-args',
  '--target-rustcflags',
  '--test-args',
  '-Cforce-unwind-tables=yes',
  '--test-args',
  '--target-rustcflags',
  '--test-args',
  '',
  '--test-args',
  '--remote-test-client',

This was due to us sometimes appending empty string to the list of
target flags. These flags were processed in a loop:

    test_args += [
        arg
        for flag in target_flags
        for arg in ["--test-args", "--target-rustcflags", "--test-args", flag]
    ]

.. which added extra command-line args that should not have been
there. This had the effect of x.py passing "--remote-test-client" down
to rustc, which did not know how to handle it.

This CL trims the environment of whitespace between converting them
into arguments to be passed to x.py.

Original-Bug: b/446708220
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/recipes/+/1476408
Original-Revision: 6541d9b52ace31a1be24ef11ae4fcc1b875f8511
GitOrigin-RevId: e8a2c7be6905ce3c464802a67afa2ec3ac25931b
Change-Id: Ib6eca7a8e5b0b474965a0a2b96304562d2d2bc41
1 file changed
tree: 0df47e267966e23449eda62431faa7c6228de146
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. flower
  6. jiri.lock
  7. MILESTONE
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
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 in one of the communication channels documented at get involved.

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.