[roll] Roll fuchsia [zr] Add OpaqueStorage and pin_init_ffi helpers

Introduce OpaqueStorage and pin_init_ffi macro to the zr crate.

OpaqueStorage allows creating a safe opaque container with exact size
and alignment constraints, which is useful for FFI bindings to C++
types.

pin_init_ffi provides a helper macro to initialize a pinned object
in-place using a raw FFI constructor.

Also make Opaque::get a const fn to support static initializers.

Test: None, helper utilities that compile successfully and are tested via ksync-tests in later steps.
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1630125
Original-Original-Revision: ee2dbd1757873e6fbad02973ed6373bd36d0e6f7
GitOrigin-RevId: f2763b0e7dece057904a711f951250b806994b39
Change-Id: Ib678dee87458fd007a9acacb290f6a8578ed98d4
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1631387
Cr-Commit-Position: refs/heads/main@{#193708}
1 file changed
tree: 6a99ffc8c924f96d4d2cca4ded742a8514080d36
  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.