pub fn build_engine() -> Arc<Engine>Expand description
Build the rhai plugin engine with linesmith-core’s logger wired
as the host’s warn emitter, so plugin log() output respects
LINESMITH_LOG. Wraps linesmith_plugin::build_engine.
Every entry point that builds a plugin engine via linesmith-core
(CLI driver, library run / run_with_* family, doctor,
runtime::plugins::load_plugins) installs the emitter before
the first render. Direct consumers of
linesmith_plugin::build_engine skip this bridge by design —
that’s the documented entry point for embedders who don’t want
linesmith-core’s logger.