Skip to main content

Module injection

Module injection 

Source

Structs§

CapturedMacroDiagnostic
FfiMetricsReportOnDrop
MacroDiagnosticCaptureGuard

Functions§

blocking_dylib_edn_fn
Pass a callback to a C-safe FFI method while the dylib owns the host thread. Missing C-safe protocol or method symbols are migration errors.
call_dylib_edn
call_dylib_edn_fn
pass callback function to FFI function, so it can call multiple times currently for HTTP servers
drain_async_events
exit_when_async_cleared
init_async_runtime
Bind the async queue to the CLI worker thread before any dylib can publish work. Tests that only inject proc metadata do not initialize global runtime state and therefore cannot accidentally claim host-thread ownership.
inject_platform_apis
on_ctrl_c
need to put it here since the crate does not compile for dylib
set_program_output_silenced
set_stdout_to_stderr
set_trace_ffi
shutdown_requested
stderr_println
stdout_println
take_captured_macro_diagnostics