We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f54be commit c896f7cCopy full SHA for c896f7c
src/tools/execution-results.h
@@ -188,9 +188,11 @@ struct LoggingExternalInterface : public ShellExternalInterface {
188
} else if (import->base == "getTempRet0") {
189
return {Literal(state.tempRet0)};
190
}
191
- } else if (auto* inst = getImportInstance(import)) {
192
- return inst->callExport(import->base, arguments);
+ } else if (linkedInstances.count(import->module)) {
+ // This is from a recognized module.
193
+ return getImportInstance(import)->callExport(import->base, arguments);
194
195
+ // Anything else, we ignore.
196
std::cerr << "[LoggingExternalInterface ignoring an unknown import "
197
<< import->module << " . " << import->base << '\n';
198
return {};
0 commit comments