Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Its a manually written impl, not a derive, because InstancePre<T>: Clone does not require T: Clone. The clone should be reasonably inexpensive: Clone for Module is just an Arc, and Clone for Definition should also just be an Arc on the HostFunc or Instance variants. An InstancePre shouldnt contain any Definition::Extern variants because there is not yet a Store associated with it- right?
- Loading branch information