[roll] Roll fuchsia [zxsh] Add AST and Buffer representation

Introduce the AST nodes and the ASTBuilder serialization layout engine.
To support a flat serialized representation without deep nested pointer
graphs, we define relative pointers (Ptr, Slice, BStr) in relative.rs
that calculate target references based on self offset.

Include manual AST serialization tests in tests/ast.rs to verify the
relative pointer layouts and buffer management in practice.

Original-Original-Bug: 524829181
Test: fx test zxsh_tests (runs new manual AST unit tests)
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1679558
Original-Original-Revision: 867c994baac2c6d88c5c01f45d625612aca53297
GitOrigin-RevId: 9b7f87e54eb3774ad9cbca911af658872c94aec5
Change-Id: Idc1efb4945b9ceb8811a1f0c2da781c350616f2a
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1694661
Cr-Commit-Position: refs/heads/main@{#196189}
1 file changed
tree: d0e46b1b894f118a63e8d56dc4f0634dc5687f2a
  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.