[roll] Roll fuchsia [kalloc] Add NoOpAllocator implementation and tests

This change implements `NoOpAllocator`, which returns `AllocError`
on all allocation requests, and performs a safe no-op on
deallocations.

This is useful when constructing `Box` or other dynamically
allocated collections from raw pointers to pre-existing memory
where the collection shouldn't own or free the memory (e.g.
wrapping memory managed by C++ code).

Original-Original-Bug: 507423574
Original-Original-Bug: 517305548
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1652234
Original-Original-Revision: e28ef491fb4fba6294ba9a964f47f7570c213c46
GitOrigin-RevId: eb5c297df5b653ed225c1eb0fdb87259ad550ce5
Change-Id: I82ade89a007119ad29b274659de2135689ad2222
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1651962
Cr-Commit-Position: refs/heads/main@{#194644}
1 file changed
tree: 3255cf35628ee8d776feb129f1204d953ed0bc0e
  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.