Add cross_rs toml file for cross compilation

This commit is contained in:
Mario Voigt 2025-03-07 00:18:36 +01:00
parent 01dd95cc91
commit d428ae91cf

15
Cross.toml Normal file
View File

@ -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"
]