use correct path to cargo config

This commit is contained in:
Kai Kriegel 2021-12-14 15:36:12 +01:00
parent 160f573312
commit 1e2cb52b69
2 changed files with 4 additions and 1 deletions

View File

@ -101,7 +101,7 @@ build:binary-development:
before_script:
- cp cargo-cross-cfg /usr/local/cargo/config
- cp cargo-cross-config /usr/local/cargo/config
- dkpg --add-architecture armhf
- apt-get update -yqq
- apt-get install -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf

3
cargo-cross-config Normal file
View File

@ -0,0 +1,3 @@
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"