Commit a6925c2
authored
wasmtime: Make
This commit changes the signature of the `Store::epoch_deadline_callback` to
take in `StoreContextMut` instead of a mutable reference to the store's data.
This is useful in cases in which the callback definition needs access to the
Store to be able to use other methods that take in `AsContext`/`AsContextMut`,
like for example `WasmtimeBacktrace::capture`StoreContextMut accessible in epoch deadline callback (#6075)1 parent 2fde253 commit a6925c2
2 files changed
Lines changed: 17 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| 428 | + | |
428 | 429 | | |
429 | 430 | | |
| 431 | + | |
430 | 432 | | |
431 | 433 | | |
432 | | - | |
| 434 | + | |
433 | 435 | | |
434 | 436 | | |
435 | 437 | | |
| |||
932 | 934 | | |
933 | 935 | | |
934 | 936 | | |
935 | | - | |
| 937 | + | |
936 | 938 | | |
937 | 939 | | |
938 | 940 | | |
| |||
1975 | 1977 | | |
1976 | 1978 | | |
1977 | 1979 | | |
1978 | | - | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
1979 | 1984 | | |
1980 | 1985 | | |
1981 | | - | |
| 1986 | + | |
1982 | 1987 | | |
1983 | 1988 | | |
1984 | 1989 | | |
| |||
1998 | 2003 | | |
1999 | 2004 | | |
2000 | 2005 | | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
2001 | 2010 | | |
2002 | 2011 | | |
2003 | 2012 | | |
| |||
2022 | 2031 | | |
2023 | 2032 | | |
2024 | 2033 | | |
2025 | | - | |
| 2034 | + | |
2026 | 2035 | | |
2027 | 2036 | | |
2028 | 2037 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
| 338 | + | |
338 | 339 | | |
339 | 340 | | |
340 | 341 | | |
| |||
0 commit comments