mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-15 00:38:52 +00:00
Fix Rust UB problems (#6393)
* Fix miri problems by assuming alignment is 1 in rust * Removed is_aligned fn from rust verifier. * Add back is_aligned, but make it w.r.t. buffer[0] * touch unused variable * touch unused variable * +nightly * Move Rust miri testing into its own docker * fix bash * missing one endian conversion * fix endianness2 * format stuff Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
8
tests/docker/languages/Dockerfile.testing.rust.nightly
Normal file
8
tests/docker/languages/Dockerfile.testing.rust.nightly
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM rustlang/rust:nightly-stretch-slim as base
|
||||
WORKDIR /code
|
||||
ADD . .
|
||||
RUN cp flatc_debian_stretch flatc
|
||||
WORKDIR /code/tests
|
||||
RUN rustc --version
|
||||
RUN export RUST_NIGHTLY=1
|
||||
RUN ./RustTest.sh
|
||||
Reference in New Issue
Block a user