unix: Allow to build coverage build with OBJ_REPR_D.
This commit is contained in:
parent
11b97d7ec5
commit
c9845a0685
@ -455,7 +455,7 @@ int main(int argc, char **argv) {
|
|||||||
#if defined(MICROPY_UNIX_COVERAGE)
|
#if defined(MICROPY_UNIX_COVERAGE)
|
||||||
{
|
{
|
||||||
MP_DECLARE_CONST_FUN_OBJ(extra_coverage_obj);
|
MP_DECLARE_CONST_FUN_OBJ(extra_coverage_obj);
|
||||||
mp_store_global(QSTR_FROM_STR_STATIC("extra_coverage"), (mp_obj_t)&extra_coverage_obj);
|
mp_store_global(QSTR_FROM_STR_STATIC("extra_coverage"), MP_OBJ_FROM_PTR(&extra_coverage_obj));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user