From ec93db90dd2c9aec136223da5fe1647bcfa00ee7 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Fri, 17 Mar 2023 13:53:57 -0700 Subject: [PATCH] Remove no longer necessary comment on js --- lib/api/src/js/module.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/api/src/js/module.rs b/lib/api/src/js/module.rs index ad39596b8..995161a98 100644 --- a/lib/api/src/js/module.rs +++ b/lib/api/src/js/module.rs @@ -145,13 +145,6 @@ impl Module { InstantiationError::DifferentStores, ))); } - // TODO: refactor this if possible, after the WASIX merge. - // The imported/exported memory does not have the correct properties - // (incorrect size and shared flag) hence when using shared memory its - // failing - the only way to fix it is to resolve the import and use the - // correct memory properties. this regression issue was only found - // in WASIX on the browser as the other areas don't mind that they don't match up - // sharrattj/dash should be able to reproduce this. let imports_object = js_sys::Object::new(); let mut import_externs: Vec = vec![];