Skip to content

Build fails on ARM CPU #368

Description

@dboreham

cargo build fails on ARM64 architecture machines with this error:

error[E0599]: no method named `disable_lifo_slot` found for mutable reference `&mut tokio::runtime::Builder` in the current scope
  --> /home/david/.cargo/git/checkouts/diem-87cf5bd520282346/e402fe6/crates/diem-runtimes/src/lib.rs:34:10
   |
29 | /     builder
30 | |         .thread_name_fn(move || {
31 | |             let id = atomic_id.fetch_add(1, Ordering::SeqCst);
32 | |             format!("{}-{}", thread_name_clone, id)
33 | |         })
34 | |         .disable_lifo_slot()
   | |         -^^^^^^^^^^^^^^^^^ private field, not a method
   | |_________|
   |

For more information about this error, try `rustc --explain E0599`.
error: could not compile `diem-runtimes` (lib) due to 1 previous error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions