Skip to content
Snippets Groups Projects
  • Damien George's avatar
    a4f1d827
    py/nativeglue: Remove dependency on mp_fun_table in dyn-compiler mode. · a4f1d827
    Damien George authored
    mpy-cross uses MICROPY_DYNAMIC_COMPILER and MICROPY_EMIT_NATIVE but does
    not actually need to execute native functions, and does not need
    mp_fun_table.  This commit makes it so mp_fun_table and all its entries are
    not built when MICROPY_DYNAMIC_COMPILER is enabled, significantly reducing
    the size of the mpy-cross executable and allowing it to be built on more
    machines/OS's.
    a4f1d827
    History
    py/nativeglue: Remove dependency on mp_fun_table in dyn-compiler mode.
    Damien George authored
    mpy-cross uses MICROPY_DYNAMIC_COMPILER and MICROPY_EMIT_NATIVE but does
    not actually need to execute native functions, and does not need
    mp_fun_table.  This commit makes it so mp_fun_table and all its entries are
    not built when MICROPY_DYNAMIC_COMPILER is enabled, significantly reducing
    the size of the mpy-cross executable and allowing it to be built on more
    machines/OS's.