[Rust] Add support for fixed size arrays (#6548)

* Add support for fixed size arrays

* clang-format

* Update rust image to 1.51 to support const generics

* Handle correctly big endian

* Add fuzz tests and clean code

* Add struct fuzz test and optimize struct arrays for api

* Bump flatbuffers crate version
This commit is contained in:
Eddie Linder
2021-04-16 18:15:59 +03:00
committed by GitHub
parent 151900ba96
commit da3bb64ef6
25 changed files with 1442 additions and 77 deletions

View File

@@ -1,4 +1,4 @@
FROM rust:1.40.0-slim-stretch as base
FROM rust:1.51.0-slim as base
WORKDIR /code
ADD . .
RUN cp flatc_debian_stretch flatc

View File

@@ -1,4 +1,4 @@
FROM rust:1.40.0-slim-stretch as base
FROM rust:1.51.0-slim as base
RUN apt -qq update -y && apt -qq install -y \
gcc-mips-linux-gnu \
libexpat1 \