[roll] Roll fuchsia [bind] Add error handling to bytecode encoding

Introduced BindProgramEncodeError for errors in
encode_to_bytecode() and encode_to_string().

Modified encode_bind_program_v1 so that it returns
an error for unsupported symbols: 64 bit integers,
strings, booleans and enum values.

Modified encode_bind_program_v2 so that it returns
an error for duplicate symbols or strings exceeding
255 characters.

Tests: Added unit tests for error handling
Original-Bug: 67920
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/474622
Original-Revision: a8fe71bdee3b79120795817f19d0296654c532ad
GitOrigin-RevId: 6afe95f4d6e4a1aadfe6de10321ab1c09a467302
Change-Id: I37dc1d571daeab21b9daaf85217d38390ea4a5ae
1 file changed
tree: fe074932e60464747e8eae6b93481d3c1dc1b2d5
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. flower
  8. jiri.lock
  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 via the IRC channel #fuchsia on Freenode.

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.