Commit 27b4e7d
authored
fix(sw-macro): host
When the `sw-macro` generated struct is compiled for host (`target_os !=
"zkvm"`), there is no `set_up_once()` function. Apparently the compiler
didn't catch this and the trait implementation of `fn set_up_once {
Self::set_up_once() }` becomes an infinite loop.set_up_once undefined (openvm-org#1717)1 parent 7d63ca9 commit 27b4e7d
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
205 | 210 | | |
206 | 211 | | |
207 | 212 | | |
| |||
0 commit comments