Skip to content

Commit

Permalink
[meta] fix Cross.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers committed Mar 5, 2023
1 parent 02abe2d commit b9d93e0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ passthrough = ["CARGO_PROFILE_RELEASE_LTO"]
# https://github.com/cross-rs/cross/pull/1166
image = "ghcr.io/cross-rs/x86_64-unknown-freebsd:edge"

[target.riscv64gc-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture aarch64",
"apt-get update && apt-get install --assume-yes libssl-dev:aarch64"
]
# This doesn't work because the cross 0.2.4 Docker container is based on Ubuntu 18.04, which doesn't
# have binary packages available for riscv64.
# [target.riscv64gc-unknown-linux-gnu]
# pre-build = [
# "dpkg --add-architecture aarch64",
# "apt-get update && apt-get install --assume-yes libssl-dev:aarch64"
# ]

0 comments on commit b9d93e0

Please sign in to comment.