[HELP] Rust cross-compile for aarch64 error `libdbus-sys v0.2.2`

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • cross

    “Zero setup” cross compilation and “cross testing” of Rust crates

    I strongly recommend trying to use cross https://github.com/cross-rs/cross it should work fine for you use case, it not only takes care about compiler/linker but also external libs you might link against. If a lib is missing you can make you own dockerfile and install it in the target sysroot you are compiling then against.

  • intive-ua-bot

    I was trying to set up a cross-build system for aarch64 too. However I found it too bothersome, so I stick to Docker. Here is the example of my Dockerfile for building for aarch64 https://github.com/mmaslyukov/intive-ua-bot/blob/main/Dockerfile. There you can specify all necessary dependencies. Here are brief commands on how to build a Docker image and run a compilation https://github.com/mmaslyukov/intive-ua-bot/blob/main/README.md

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts