Commit 29eacb6
committed
fix(ci): resolve secondary compilation and KANI installation issues
This commit addresses the remaining CI failures after the primary
blocker was resolved, focusing on memory provider consistency and
KANI toolchain installation.
MEMORY PROVIDER FIXES:
- Fix StacklessEngine memory size inconsistency (1024 vs 4096)
- Use RUNTIME_MEMORY_SIZE constant consistently across std/no_std
- Remove unsafe type casts in StacklessEngine constructor
- Separate std/no_std initialization paths properly
KANI INSTALLATION FIXES:
- Remove non-existent kani-driver installation
- Fix KANI setup to use: cargo install kani-verifier + cargo kani setup
- Update both kani-regression.yml and deploy-verification.yml workflows
TECHNICAL DETAILS:
- StacklessEngine now uses proper types instead of casting BoundedMap to HashMap
- Memory allocation uses RUNTIME_MEMORY_SIZE (4096) instead of hardcoded 1024
- KANI follows official 2025 installation guide from model-checking.github.io
IMPACT:
- Should resolve most Test Default, Integration Tests, and other test job failures
- Should fix all KANI Verification job failures
- Maintains backward compatibility for both std and no_std configurations
These fixes target the type mismatch errors (E0605, E0308) and KANI setup
issues that were blocking CI after the primary SIMD compilation issue was resolved.1 parent 2a86caf commit 29eacb6
File tree
4 files changed
+33
-16
lines changed- .github/workflows
- wrt-build-core/src
- wrt-runtime/src/stackless
4 files changed
+33
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | 73 | | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
76 | | - | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
223 | 238 | | |
224 | 239 | | |
225 | 240 | | |
| |||
303 | 318 | | |
304 | 319 | | |
305 | 320 | | |
| 321 | + | |
306 | 322 | | |
307 | 323 | | |
308 | 324 | | |
309 | 325 | | |
310 | | - | |
| 326 | + | |
311 | 327 | | |
312 | 328 | | |
313 | 329 | | |
| |||
0 commit comments