@@ -21,14 +21,13 @@ jobs:
2121 include :
2222 - host_target : x86_64-unknown-linux-gnu
2323 os : ubuntu-latest
24- # Needs a libffi patch: <https://github.com/libffi-rs/libffi-rs/pull/160>
25- # - host_target: i686-unknown-linux-gnu
26- # os: ubuntu-latest
24+ - host_target : i686-unknown-linux-gnu
25+ os : ubuntu-latest
2726 - host_target : aarch64-unknown-linux-gnu
2827 os : ubuntu-24.04-arm
2928 # Disabled due to <https://github.com/rust-lang/rust/issues/143184>.
30- # - host_target: armv7-unknown-linux-gnueabihf
31- # os: ubuntu-24.04-arm
29+ - host_target : armv7-unknown-linux-gnueabihf
30+ os : ubuntu-24.04-arm
3231 - host_target : aarch64-apple-darwin
3332 os : macos-latest
3433 - host_target : i686-pc-windows-msvc
@@ -43,13 +42,16 @@ jobs:
4342 run : |
4443 sudo dpkg --add-architecture i386
4544 sudo apt update
46- sudo apt install gcc-multilib zlib1g-dev:i386 libffi-dev:i386
45+ sudo apt install gcc-i686-linux-gnu gcc-multilib zlib1g-dev:i386 libffi-dev:i386
46+ echo "CC=i686-linux-gnu-gcc" >> $GITHUB_ENV
4747 - name : Install multilib dependencies
4848 if : ${{ matrix.host_target == 'armv7-unknown-linux-gnueabihf' }}
4949 run : |
5050 sudo dpkg --add-architecture armhf
5151 sudo apt update
5252 sudo apt install gcc-arm-linux-gnueabihf zlib1g-dev:armhf libffi-dev:armhf
53+ echo "CC=arm-linux-gnueabihf-gcc" >> $GITHUB_ENV
54+ echo '[target.armv7-unknown-linux-gnueabihf] linker = "arm-linux-gnueabihf-gcc"' >> .cargo/config.toml
5355 - uses : ./.github/workflows/setup
5456 with :
5557 toolchain_flags : " --host ${{ matrix.host_target }}"
0 commit comments