[roll] Roll fuchsia [bazel][rust] Pass libstd .build-id as a directory

Rust runtime debug symbols were never registered with ffx.
libstd_debug_build_id globbed lib/debug/.build-id/**, so
FuchsiaDebugSymbolInfo got each .debug, .sym and bare build-id file as
a separate entry instead of one .build-id directory. The symbol
registration task passes every entry to `ffx debug symbol-index add`,
which accepts only *.json, *ids.txt or a directory, and rejected all
8 files with "Unsupported format".

Export the directory itself, as fuchsia_clang does, and make the
fx_packaged_binary attribute allow_single_file to enforce it.

The glob gave no incremental-build benefit:
* Bazel 8.5.1 hashes source directories used as action inputs
  (TrackSourceDirectoriesFlag defaults to true since 8; the
  "dependency checking of directories is unsound" warning is from 7.x),
  and we do not override BAZEL_TRACK_SOURCE_DIRECTORIES.
* No action reads build_id_dirs entries; they are only passed as paths.
* fuchsia_prebuilt_rust is regenerated on every toolchain roll.

      root goes from 8 files to one .build-id directory; Clang and
      package entries are unchanged; build-info-service (C++) still has
      no Rust entry.
      all 8 failed before; the directory registers after.

Original-Original-Bug: 516926932
Test: fx build //build/bazel/rules/tests:quick_tests
Test: cquery FuchsiaDebugSymbolInfo of factory-reset-trigger: the Rust
Test: `ffx debug symbol-index add` (isolated HOME) on the Rust entries:
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1853116
Original-Original-Revision: ba144a954ead37d35a85e417e1f9e08165790f19
GitOrigin-RevId: 07ec8e20011dbf9876c446b0d491c9d4df3c5796
Change-Id: I94f74e81906b94ec34ee35bbba780d57f1de196c
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1855397
Cr-Commit-Position: refs/heads/main@{#203580}
1 file changed
tree: 42ade28a5741a0d85076288be762cac2d6cf317f
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. 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.