Skip to content

Commit

Permalink
chore: add Cross.toml config
Browse files Browse the repository at this point in the history
  • Loading branch information
fioncat committed Jan 23, 2025
1 parent 9c205f9 commit b803ea1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# We need to install libssl before compiling.
# See: https://github.com/cross-rs/cross/wiki/Recipes#openssl
[target.x86_64-unknown-linux-gnu]
pre-build = [
"apt-get update && apt-get install --assume-yes libssl-dev"
]

[target.aarch64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture arm64",
"apt-get update && apt-get install --assume-yes libssl-dev:arm64"
]

0 comments on commit b803ea1

Please sign in to comment.