MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / compiled_module

Function compiled_module

crates/codegen/tests/codegen.rs:7–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5use std::sync::OnceLock;
6
7fn compiled_module() -> &'static ModuleDef {
8 static COMPILED_MODULE: OnceLock<ModuleDef> = OnceLock::new();
9 COMPILED_MODULE
10 .get_or_init(|| CompiledModule::compile("module-test", CompilationMode::Debug).extract_schema_blocking())
11}
12
13macro_rules! declare_tests {
14 ($($name:ident => $lang:expr,)*) => ($(

Callers

nothing calls this directly

Calls 2

newFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…