rlmesh::set_warning_handler
Install the process-wide warning handler; None restores the default (stderr, each distinct warning once). An emission already running keeps the handler it started with, which is dropped once that call returns.
fn set_warning_handler(handler: Option<WarningHandler>)