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 29730f4 commit 88a11d7Copy full SHA for 88a11d7
.github/workflows/docker.yml
@@ -44,8 +44,10 @@ jobs:
44
include:
45
- rust_arch: aarch64-unknown-linux-gnu
46
docker_arch: arm64
47
+ debian_lib_arch: aarch64
48
- rust_arch: x86_64-unknown-linux-gnu
49
docker_arch: amd64
50
+ debian_lib_arch: amd64
51
runs-on: ubuntu-22.04
52
steps:
53
- name: Setup Rust toolchain
@@ -82,6 +84,8 @@ jobs:
82
84
[target.aarch64-unknown-linux-gnu]
83
85
linker = "aarch64-linux-gnu-gcc"
86
EOF
87
+ export PKG_CONFIG_ALLOW_CROSS=1
88
+ export PKG_CONFIG_PATH=/usr/lib/${{ matrix.debian_lib_arch }}-linux-gnu/pkgconfig
89
cargo build --release --target ${{ matrix.rust_arch }} --features optimizations
90
mv target/${{ matrix.rust_arch }}/release/dx target/dx.${{ matrix.docker_arch }}
91
0 commit comments