Moved type_index out of detail to cross_compiler_interface