Commit 4a04fdc
FIXED: predicate_options drift check failed where foreign source locations are unavailable
On platforms such as WASM predicate_location/2 does not resolve foreign
(C) predicates to their source file, so the drift check scanned no C
files and reported every option array as stale. Gate the check on a
drift_testable/0 probe that verifies a foreign predicate can be located,
skipping the drift test otherwise.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 16c6274 commit 4a04fdc
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
67 | 79 | | |
68 | 80 | | |
69 | 81 | | |
70 | 82 | | |
71 | | - | |
| 83 | + | |
72 | 84 | | |
73 | 85 | | |
74 | 86 | | |
| |||
148 | 160 | | |
149 | 161 | | |
150 | 162 | | |
151 | | - | |
| 163 | + | |
152 | 164 | | |
153 | 165 | | |
154 | 166 | | |
| |||
0 commit comments