Skip to content

Commit

Permalink
ci: fix cross compiling for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
stmh committed Oct 22, 2024
1 parent 4b49eac commit 66101ee
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,14 @@ pre-release-hook = [
pre-release-replacements = [
{ file = "README.md", search = "Current release: [a-z0-9\\.-]+", replace = "Current release: {{version}}" },
]

[workspace.metadata.cross.target.aarch64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get --assume-yes install libssl-dev:$CROSS_DEB_ARCH"
]
[workspace.metadata.cross.target.x86_64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get --assume-yes install libssl-dev:$CROSS_DEB_ARCH"
]

0 comments on commit 66101ee

Please sign in to comment.