Expand description
extern "C" const char* checkScript(const char* source, int useNewSolver)
(CLI/src/Web.cpp:142-182).
The wasm type-checking entry point: builds a demo Frontend, registers the
Luau builtins, type-checks the single module "main", and returns the
newline-joined line: message diagnostics (or null when clean). The C++
caches the result in a function-static std::string so the returned pointer
outlives the call; the Rust analog is a thread-local CString.
Functions§
- check_
script ⚠ - Safety