Commit 0ccb0db
fix(ci): rust-ci.yml — only the linking test steps drop --all-features (#85)
--all-features force-enables flint/spark/chapel — opt-in,
system-library-dependent features (libflint LGPL-3, GNAT+libechidna_spark,
Zig FFI). build.rs correctly gates their link directives behind
cfg(feature=...), but the bare GitHub runner lacks those libraries, so
'cargo test --all-features' failed at link time on EVERY PR (present on
main; surfaced on #73):
rust-lld: error: unable to find library -lflint
Key distinction: clippy / doc / check type-check and lint the cfg-gated
flint/spark/chapel code WITHOUT invoking the linker, so they keep
--all-features (full lint/compile coverage, zero infra). Only the two
'cargo test' steps build a linked binary -> they drop to
--features verisim (the only pure-Rust optional feature; live-provers
superset). flint/spark/chapel test execution remains covered by their
dedicated CI (chapel-ci.yml, SPARK Theatre Gate, live-provers.yml). This
preserves lint/compile coverage that a blanket --features verisim would
have lost for ~510 LoC of flint + the spark-gated FFI.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d3db97d commit 0ccb0db
1 file changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
48 | 59 | | |
49 | 60 | | |
50 | 61 | | |
51 | 62 | | |
52 | | - | |
| 63 | + | |
53 | 64 | | |
54 | 65 | | |
55 | | - | |
| 66 | + | |
56 | 67 | | |
57 | 68 | | |
58 | 69 | | |
| |||
133 | 144 | | |
134 | 145 | | |
135 | 146 | | |
136 | | - | |
| 147 | + | |
137 | 148 | | |
138 | 149 | | |
139 | 150 | | |
| |||
202 | 213 | | |
203 | 214 | | |
204 | 215 | | |
205 | | - | |
| 216 | + | |
0 commit comments