Skip to main content Crate modrt Copy item path Source cpu crash fx modabi os the OS calls rt makes, through the host portable Portable float contract used by the common scalar SIMD backend in module builds. scalar_fx sync x87 module_entry the module’s one export: name(&HostTable) -> &TABLE (extern “win64”, #[no_mangle]) JxlRequest a JPEG XL encode as the module’s writer gets it (JxlReq unpacked) JxlWriter the writer of a jxlenc module entry the entry of module_entry!: keep the host’s table (version 1 only), take its CPU features
(–simd sse2 in the host: SSE2 kernels here too) -> the module’s table, or null host the host’s table (a module runs only after its entry stored it; before: a fault) jxl_table the ModTable of a jxlenc module with the writer W trap ud2: a fault the host’s crash handler reports