Fully persist program state.

This commit is contained in:
losfair
2019-06-26 01:38:39 +08:00
parent 3f2aeec9bc
commit 0937e53801
5 changed files with 95 additions and 40 deletions

View File

@ -38,8 +38,8 @@ pub struct Ctx {
/// These are pointers to things that are known to be owned
/// by the owning `Instance`.
local_backing: *mut LocalBacking,
import_backing: *mut ImportBacking,
pub local_backing: *mut LocalBacking,
pub import_backing: *mut ImportBacking,
pub module: *const ModuleInner,
//// This is intended to be user-supplied, per-instance