Commit e8cf572
committed
ci(simd): TD-SIMD-9 — nightly-simd polyfill check job
Adds a `nightly-simd-polyfill` CI job that compiles the crate with
`--features nightly-simd` on nightly rustc, exercising the
`#[cfg(feature = "nightly-simd")]` dispatch arm in `src/simd.rs`
(landed in Phase 2 / PR #173). Catches arm shadowing bugs and the
class of API-break codex flagged on that PR (lowercase aliases
dropped from `pub use` list).
`cargo check` rather than full build/test:
- Nightly rustc is only needed for `#![feature(portable_simd)]`
in `src/simd_nightly/lib.rs`.
- The type/borrow/cfg checker reaches every type alias and macro
expansion — same coverage as the v4 check job for the AVX-512
path, minus runtime exercise.
- Two passes: default features and +hpc-extras (same shape as the
v4 job).
Gating: `if: merge_group || push` (same as `miri`) — keeps the
nightly toolchain pull out of the per-PR critical path. Added to
`conclusion.needs` so a failure blocks merge, but the "skipped on PR"
case is accepted by the conclusion logic (`success | skipped`).1 parent 96d01ce commit e8cf572
1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
214 | 243 | | |
215 | 244 | | |
216 | 245 | | |
| |||
310 | 339 | | |
311 | 340 | | |
312 | 341 | | |
| 342 | + | |
313 | 343 | | |
314 | 344 | | |
315 | 345 | | |
| |||
0 commit comments