[roll] Roll fuchsia [counters][rust] Generate bindgen crate during build

Currently, rustc_bindgen_golden is used in counters to validate that a
checked-in bindgen file matches the output of running bindgen during the
build. To eliminate the need for checked-in bindings files, this change
refactors counters to define separate rustc_bindgen and rustc_library
targets that generate and compile the counters-bindings library crate
directly during the build.

The counters crate is updated to depend on counters-bindings instead of
checking in src/bindings.rs.

Original-Original-Bug: 512840182
Test: fx build //zircon/kernel/lib/counters:counters-rs
Test: fx clippy //zircon/kernel/lib/counters:counters-rs
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1694814
Original-Original-Revision: cad062d765875745a9a5b326708e358465ce09ec
GitOrigin-RevId: 7a964038f4a5b3052c5f7088a20763dd278ff27d
Change-Id: I7aa292e6c3f6b3734fb49852da0743eea16799b2
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1695460
Cr-Commit-Position: refs/heads/main@{#196231}
1 file changed
tree: c8374c3e27719d8f163a50a499962966794aabbc
  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.