Skip to content

Commit f620b64

Browse files
authored
try configure cross for musl targets (#2413)
2 parents fbaef58 + 37c4f23 commit f620b64

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,9 @@ default.extend-ignore-words-re = ["(?i)groth", "TRE"]
116116

117117
[workspace.lints.clippy]
118118
print_stdout = "deny"
119+
120+
# Workaround for cross-compilation to ARM musl targets.
121+
[workspace.metadata.cross.target.aarch64-unknown-linux-musl]
122+
pre-build = [
123+
"sudo ln -s /usr/bin/g++ /usr/bin/musl-g++"
124+
]

0 commit comments

Comments
 (0)