[roll] Roll fuchsia [fbl][rust] Add RefPtr

This CL adds a Rust version of fbl::RefPtr that interoperates with the
C++ fbl::RefPtr. Code in Rust or C++ can hold a reference to Rust or C++
RefCounted objects, or vice versa. Whichever language drops the last
reference transfers control to the home language for the object for
deallocation.

Also, make the kalloc Box interface match the standard Box interface
more closely. Remove `Box::leak` because every time we try to use this
function, there's a reason to use a different function instead.

Original-Original-Bug: b/507423574
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1601468
Original-Original-Revision: cfb28da3d7124efb817829ad6b013b1570677666
GitOrigin-RevId: 5d3021b18c29c73fe67b5d11502d8b495ab5e54a
Change-Id: Ibe306e147d4d5150ac3056f590feeecc1b0c7b52
1 file changed
tree: 00842f49c881cfd4708f8b4ca48eaf639b964367
  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.