Expand description
PL8.A/B — the crate-owned install(boot) entry point.
Wiring the loader into the editor is one line in the host’s Phase-B
install list (lattice_plugin_loader::install(&mut boot)) and zero host
internals — the mode-ownership acid test: no Editor:: method, no host
Action variant. install stands the runtime up, captures the editor
environment (runtime handle, event bus, the runtime-mutable picker registry,
the provenance sink) from the generic SubsystemBoot seams, registers the
PluginLoaderHandle service, and spawns on-disk discovery off the boot
thread so no plugin cold-start delays boot.
Functions§
- autoload_
enabled - Whether boot-time auto-discovery is currently on. The env override is
deliberately NOT consulted: this reports the latch, which is what a caller
setting it wants to confirm, and what
autoload_is_opt_in.rspins. - disable_
autoload - Suppress boot-time plugin auto-discovery for this process.
- enable_
autoload - Turn on boot-time plugin auto-discovery for this process.
- flush_
plugin_ stores - Write out every plugin’s store before the process exits.
- install