mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-15 20:28:04 -04:00
abc3a1c032
# Description of Changes Update: This PR did all of the below but was split. Now it just does: 1. Exposes V8/JS modules via the `unstable` feature flag on the host. To publish a JS module, `--js-path path/to/module.js` This PR: 1. Exposes V8/JS modules via the `unstable` feature flag on the host. To publish a JS module, `--js-path path/to/module.js` needs to be used. 2. Bumps V8 to 140.2. 3. Shares more logic with WASM and makes some minor refactorings to energy/budget logic. 4. Moves logic from `WasmInstanceEnv` to `InstanceEnv` and friends. 5. Makes JS modules actually work in terms of `create_instance`, `make_actor`, 6. Fleshes out `call_reducer` with timeouts and long-running logs added as well. 7. Adds all the syscalls with associated documentation as well. # API and ABI breaking changes None # Expected complexity level and risk 2? It's only available on unstable and mostly touches V8 stuff. # Testing Follow up PRs will add unit tests for parts. We'll also need to add integration tests for whole modules.
⚠️ Internal Crate ⚠️
This crate is intended for internal use only. It is not stable and may change without notice.