mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
webassembly: Include lib in sys.path.
Following other ports. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -105,6 +105,7 @@ void mp_js_init(int heap_size) {
|
||||
mp_vfs_mount(2, args, (mp_map_t *)&mp_const_empty_map);
|
||||
MP_STATE_VM(vfs_cur) = MP_STATE_VM(vfs_mount_table);
|
||||
}
|
||||
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_lib));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user