pub fn build_serve_runtime() -> RuntimeExpand description
The CLI’s tokio runtime: the same multi-thread + io + time runtime
#[tokio::main] builds, except when serve_core_set is Some — then
the worker pool is sized to the core set and ONE start hook pins every
newly-spawned runtime thread. Tokio delivers the hook to the worker
threads AND to blocking-pool threads (the blocking pool clones the
runtime’s after_start callback — see the module docs), so both
populations pin through slot_pin_target.