diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1304500..b4aaf395 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,7 +102,9 @@ jobs: - uses: actions/checkout@v4 with: submodules: "recursive" - - uses: dtolnay/rust-toolchain@stable + # We use nightly for now so that we can pass RUSTFLAGS below to work around + # https://github.com/geoarrow/geoarrow-rs/issues/716 + - uses: dtolnay/rust-toolchain@nightly - uses: Swatinem/rust-cache@v2 - uses: prefix-dev/setup-pixi@v0.8.1 with: @@ -115,6 +117,6 @@ jobs: echo "PKG_CONFIG_PATH=$(pwd)/build/.pixi/envs/default/lib/pkgconfig" >> "$GITHUB_ENV" echo "LD_LIBRARY_PATH=$(pwd)/build/.pixi/envs/default/lib" >> "$GITHUB_ENV" - name: Build benchmarks with no features - run: cargo bench --no-run + run: RUSTFLAGS="-Zinline-mir=no" cargo bench --no-run - name: Build benchmarks with all features - run: cargo bench --no-run --all-features + run: RUSTFLAGS="-Zinline-mir=no" cargo bench --no-run --all-features