@@ -140,7 +140,7 @@ jobs:
140140 repo-token : ${{ secrets.GITHUB_TOKEN }}
141141 - name : Docs
142142 run : |
143- RUSTDOCFLAGS="-D warnings" cargo doc --no-deps
143+ RUSTFLAGS="--cfg gpu_unstable" RUSTDOCFLAGS="-D warnings" cargo doc --no-deps
144144 # nextest doesn't support doc tests, so we run it here
145145 cargo test --doc --workspace --all-features --exclude vortex-cxx --exclude vortex-jni --exclude vortex-ffi --exclude xtask --no-fail-fast
146146
@@ -156,7 +156,7 @@ jobs:
156156 - tag=${{ matrix.config.name }}
157157 env :
158158 # disable lints for build, they will be caught in Rust lint job.
159- RUSTFLAGS : " -A warnings"
159+ RUSTFLAGS : " -A warnings --cfg gpu_unstable "
160160 strategy :
161161 fail-fast : false
162162 matrix :
@@ -199,6 +199,8 @@ jobs:
199199 check-min-deps :
200200 name : " Check build with minimal dependencies"
201201 timeout-minutes : 120
202+ env :
203+ RUSTFLAGS : " --cfg gpu_unstable"
202204 runs-on :
203205 - runs-on=${{ github.run_id }}
204206 - family=m7i+m7i-flex+m7a
@@ -221,6 +223,8 @@ jobs:
221223 rust-lint :
222224 name : " Rust (lint)"
223225 timeout-minutes : 120
226+ env :
227+ RUSTFLAGS : " --cfg gpu_unstable"
224228 runs-on :
225229 - runs-on=${{ github.run_id }}
226230 - family=m7i+m7i-flex+m7a
@@ -249,6 +253,8 @@ jobs:
249253 rust-lint-no-default :
250254 name : " Rust (lint, no default)"
251255 timeout-minutes : 120
256+ env :
257+ RUSTFLAGS : " --cfg gpu_unstable"
252258 runs-on :
253259 - runs-on=${{ github.run_id }}
254260 - family=m7i+m7i-flex+m7a
0 commit comments