From d428ae91cfab3f155bab659739e54657cbee5a38 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Fri, 7 Mar 2025 00:18:36 +0100 Subject: [PATCH] Add cross_rs toml file for cross compilation --- Cross.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Cross.toml diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 0000000..ac3df00 --- /dev/null +++ b/Cross.toml @@ -0,0 +1,15 @@ +#we build x86_64 natively, so we do not need this! +#[target.x86_64-unknown-linux-gnu] +#pre-build = [ +# "apt-get update && apt-get install --assume-yes capnproto" +#] + +[target.aarch64-unknown-linux-gnu] +pre-build = [ + "apt-get update && apt-get install --assume-yes capnproto" +] + +[target.armv7-unknown-linux-gnueabihf] +pre-build = [ + "apt-get update && apt-get install --assume-yes capnproto" +]