mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-06 07:26:43 -04:00
b391d7333d
Fixes two issues that would prevent updating a database while also changing the host type: - We never actually updated the `ModuleKind` in `st_module` (hardcoded to wasm) - We never actually honored the value from `st_module` when instantiating a module To do so, the `Program` type from the datastore crate now carries the `ModuleKind`, forcing call sites to make a decision. Small adjustments to the smoketests / guard crate where made when writing the test for this. # Expected complexity level and risk 1 # Testing - [x] Added smoketest