Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Commit 0c4f0a3

Browse files
authored
Merge pull request #377 from data-pup/show-global-import-in-error
Show unsupported global import in error message
2 parents a44e34e + 680e61e commit 0c4f0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lucet-runtime/lucet-runtime-internals/src/instance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ impl Instance {
546546
Global::Import { .. } => {
547547
return Err(Error::Unsupported(format!(
548548
"global imports are unsupported; found: {:?}",
549-
i
549+
v
550550
)));
551551
}
552552
Global::Def(def) => def.init_val(),

0 commit comments

Comments
 (0)