Build Error with Android clang x86-64 compiler in zenoh

Compiling zenoh-transport v0.11.0-dev (GitHub - eclipse-zenoh/zenoh: zenoh unifies data in motion, data in-use, data at rest and computations. It carefully blends traditional pub/sub with geo-distributed storages, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks.)
Compiling zenoh-ext v0.11.0-dev (GitHub - eclipse-zenoh/zenoh: zenoh unifies data in motion, data in-use, data at rest and computations. It carefully blends traditional pub/sub with geo-distributed storages, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks.)
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> src/commons.rs:122:30
|
122 | _owner: unsafe { std::mem::transmute(buf) },
| ^^^^^^^^^^^^^^^^^^^
|
= note: source type: zenoh::zenoh_buffers::ZBuf (256 bits)
= note: target type: [usize; 5] (320 bits)

There is no file called commons.rs anywhere in the zenoh repo. Where does this file come from? After the error message you pasted there should be some extra info about which crate failed to compile.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.