@@ -140,9 +140,9 @@ 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
145- cargo test --doc --workspace --all-features --exclude vortex-cxx --exclude vortex-jni --exclude vortex-ffi --exclude xtask --no-fail-fast
145+ RUSTFLAGS="--cfg gpu_unstable" cargo test --doc --workspace --all-features --exclude vortex-cxx --exclude vortex-jni --exclude vortex-ffi --exclude xtask --no-fail-fast
146146
147147 build-rust :
148148 name : " Rust build (${{matrix.config.name}})"
@@ -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
@@ -415,6 +421,7 @@ jobs:
415421 # Keep frame pointers for better stack traces
416422 CARGO_PROFILE_DEV_DEBUG : " true"
417423 CARGO_PROFILE_TEST_DEBUG : " true"
424+ RUSTFLAGS : " --cfg gpu_unstable"
418425 steps :
419426 - uses : runs-on/action@v2
420427 with :
0 commit comments