From 19561f2c5fbaf70ba9fa71e434549def5e3e8fe2 Mon Sep 17 00:00:00 2001 From: David Irvine Date: Fri, 29 Nov 2024 10:00:40 +0000 Subject: [PATCH] fix: bindings --- .github/workflows/python-publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 4997d891b..2236ed832 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -100,6 +100,7 @@ jobs: sccache: 'true' before-script-linux: | yum install -y gcc gcc-c++ make + ln -s /usr/bin/gcc /usr/bin/x86_64-linux-gnu-gcc curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y source $HOME/.cargo/env rustup component add rustfmt @@ -108,6 +109,9 @@ jobs: CARGO_NET_GIT_FETCH_WITH_CLI: true CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 + RUSTFLAGS: "-C linker=gcc" + CC: gcc + CXX: g++ - name: Upload wheels uses: actions/upload-artifact@v3 with: