move-language / move

Apache License 2.0
2.25k stars 679 forks source link

[loader] Cache CompiledModule separately from Module #970

Closed amnn closed 1 year ago

amnn commented 1 year ago

Separates verification, which blesses CompiledModules from loading which caches Modules:

This change is motivated by the fact that in the presence of package upgrades, a single CompiledModule can end up being stamped out as multiple Modules

Test Plan

move$ rm -rf ~/.move && cargo nextest