compilation errors on build
Opened this issue · 4 comments
on Ubuntu 18.04 LTS, using Rust nightly,
error[E0588]: packed type cannot transitively contain a `[repr(align)]` type
--> framework/src/shared_state/directory.rs:13:1
|
13 | / pub struct DirectoryHeader {
14 | | entries: AtomicUsize,
15 | | // Used to signal that snapshotting is in progress.
16 | | current_version: AtomicUsize,
17 | | committed_version: AtomicUsize,
18 | | length: usize,
19 | | }
| |_^
Same problem on Ubuntu 16.04, not able to compile e2d2
error[E0588]: packed type cannot transitively contain a
[repr(align)]
type
--> framework/src/shared_state/directory.rs:13:1
|
13 | / pub struct DirectoryHeader {
14 | | entries: AtomicUsize,
15 | | // Used to signal that snapshotting is in progress.
16 | | current_version: AtomicUsize,
17 | | committed_version: AtomicUsize,
18 | | length: usize,
19 | | }
| |_^
Have anyone solved this problem? It is possible to be solved by using some old packages?
@YangZhou1997 I ended up using a fork (specifically this one); if you'd rather not, it'd probably be not too awful to go through the commits of a fork which builds and see how they addressed the build errors
Thanks @seankwalker !
I followed your rep and run it successfully. In contrast, there seems something wrong in the latest comcast's version. Hope to fix them and do local deployment in few days.