krata: rework cross-compilation

This commit is contained in:
Alex Zenla
2024-03-21 21:31:10 +00:00
parent 332a1bba26
commit 0191e5b2c1
27 changed files with 321 additions and 131 deletions

19
Cross.toml Normal file
View File

@ -0,0 +1,19 @@
[target.aarch64-unknown-linux-gnu]
pre-build = [
"apt-get update && apt-get --assume-yes install protobuf-compiler"
]
[target.aarch64-unknown-linux-musl]
pre-build = [
"apt-get update && apt-get --assume-yes install protobuf-compiler"
]
[target.x86_64-unknown-linux-gnu]
pre-build = [
"apt-get update && apt-get --assume-yes install protobuf-compiler"
]
[target.x86_64-unknown-linux-musl]
pre-build = [
"apt-get update && apt-get --assume-yes install protobuf-compiler"
]