turn off viper tests; thanks jepler

This commit is contained in:
Dan Halbert 2023-08-14 16:43:07 -04:00
parent 4a579f7242
commit b73f05fe64
2 changed files with 2 additions and 12 deletions

View File

@ -108,16 +108,6 @@
#define MICROPY_ALLOC_PATH_MAX (PATH_MAX)
#define MICROPY_PERSISTENT_CODE_LOAD (1)
// CIRCUITPY: native emitters not supported
#define MICROPY_EMIT_X64 (!CIRCUITPY)
#define MICROPY_EMIT_X86 (!CIRCUITPY)
#define MICROPY_EMIT_THUMB (!CIRCUITPY)
#define MICROPY_EMIT_INLINE_THUMB (!CIRCUITPY)
#define MICROPY_EMIT_ARM (!CIRCUITPY)
#define MICROPY_EMIT_XTENSA (!CIRCUITPY)
#define MICROPY_EMIT_INLINE_XTENSA (!CIRCUITPY)
#define MICROPY_EMIT_XTENSAWIN (!CIRCUITPY)
#if !defined(MICROPY_EMIT_X64) && defined(__x86_64__)
#define MICROPY_EMIT_X64 (1)
#endif

View File

@ -151,10 +151,10 @@ const mp_obj_type_t mp_type_native_gen_wrap = {
.flags = MP_TYPE_FLAG_BINDS_SELF | MP_TYPE_FLAG_EXTENDED,
.name = MP_QSTR_generator,
#if MICROPY_PY_FUNCTION_ATTRS
.attr = gen_attr,
.attr = mp_obj_fun_bc_attr,
#endif
MP_TYPE_EXTENDED_FIELDS(
.call = gen_wrap_call,
.call = native_gen_wrap_call,
.unary_op = mp_generic_unary_op,
),
};