Commit 8b64088
Edward
Fix flaky CI: load cross-program .so at runtime instead of compile time
The hand test loads lever.so (a different program) via include_bytes!(),
which fails during anchor build's IDL generation step because the .so
files don't exist yet at compile time. Using std::fs::read() defers the
load to test runtime, after anchor build has created the artifacts.1 parent 432c3cc commit 8b64088
1 file changed
Lines changed: 5 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
0 commit comments