google/flatbuffers

big-endian should be tested automatically with CI

rw opened this issue · 3 comments

rw commented
big-endian should be tested automatically with CI

Not just in Rust, also for C & C++. I guess other languages are safe, since they tend to implement scalar writing with shifts or using explicit endianness aware functions.

Now that #5229 is merged, the Rust crate is now being built/tested with a big-endian target (mips-unknown-linux-gnu) in CI. See this file for more information:

https://github.com/google/flatbuffers/blob/9e82ee25275e07e35f489f6feac543611f81fb83/tests/docker/languages/Dockerfile.testing.rust.big_endian.1_30_1

rw commented

Yes, thanks @tymcauley for getting this to work!