From a29b38ae837ec1f0271bf81cb10367bcaaa35ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Moreau?= <cem.moreau@gmail.com> Date: Mon, 24 May 2021 09:14:04 +0000 Subject: [PATCH] fix: #1429 compilation on ARM x64 --- .cargo/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cargo/config b/.cargo/config index 1f509acb1..59d90cbee 100644 --- a/.cargo/config +++ b/.cargo/config @@ -9,3 +9,7 @@ uc = "update -p duniter-core" ug = "update -p duniter-gva" ugc = "update -p duniter-gva-conf" xtask = "run --package xtask --" + +# Required for ARM x64. See: https://github.com/rust-lang/cargo/issues/6489 +[target.'cfg(all(target_arch = "aarch64"))'] +rustflags = ["-Ccodegen-units=1"] -- GitLab