pub(crate) fn create_thread_safe_module(
tscx: &ThreadSafeContext,
module: Module<'static>,
) -> ThreadSafeModuleExpand description
Wraps a module in a orc::ThreadSafeModule for transfer to LLJIT.
Uses a raw pointer cast to work around Module<'ctx> invariance — the module’s
context is genuinely owned by tscx.