Skip to content

Commit 3891dde

Browse files
committed
shared-bindings: Reenable struct_time. It was turned off when playing with LTO and never re-enabled.
1 parent 7ecbc3a commit 3891dde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared-bindings/time/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ STATIC const mp_map_elem_t time_module_globals_table[] = {
139139
{ MP_OBJ_NEW_QSTR(MP_QSTR_monotonic), (mp_obj_t)&time_monotonic_obj },
140140
{ MP_OBJ_NEW_QSTR(MP_QSTR_sleep), (mp_obj_t)&time_sleep_obj },
141141
#if MICROPY_PY_COLLECTIONS
142-
//{ MP_OBJ_NEW_QSTR(MP_QSTR_struct_time), (mp_obj_t)&struct_time_type_obj },
142+
{ MP_OBJ_NEW_QSTR(MP_QSTR_struct_time), (mp_obj_t)&struct_time_type_obj },
143143
#endif
144144
};
145145

0 commit comments

Comments
 (0)