pub fn install_warn_emitter(emitter: Box<dyn Fn(&str) + Send + Sync>)Expand description
Install the host’s warn-emitter. The OnceLock keeps the first
installation authoritative so consumers like
linesmith-core::runtime::plugins::load_plugins can call this
from a Once::call_once without worrying about racing tests.
debug_assert catches accidental double-install with conflicting
emitters (a buggy embedder wiring two bridges) so dev/test surfaces
the silent-mis-route loudly while production keeps the safe ignore.