We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7e515 commit 1b4dbb4Copy full SHA for 1b4dbb4
.github/workflows/docker.yml
@@ -75,7 +75,15 @@ jobs:
75
"apt-get update && apt-get install --assume-yes libssl-dev:arm64"
76
]
77
EOF
78
- export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=/usr/bin/aarch64-linux-gnu-gcc
+
79
+ mkdir .cargo
80
81
+ cat <<- 'EOF' > .cargo/config.toml
82
+ [target.aarch64-unknown-linux-gnu]
83
+ linker = "aarch64-linux-gnu-gcc"
84
+ EOF
85
86
+ export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
87
cross build --release --target ${{ matrix.rust_arch }} --features optimizations
88
mv target/${{ matrix.rust_arch }}/release/dx target/dx.${{ matrix.docker_arch }}
89
0 commit comments