We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03e66b6 commit 2808409Copy full SHA for 2808409
tests/specification/run.rs
@@ -718,6 +718,12 @@ fn result_to_value(result: wast::WastRet) -> Result<Value, Box<dyn Error>> {
718
return Err(GenericError::new_boxed("RefFuncs not yet implemented"));
719
}
720
},
721
+ WastRetCore::RefExtern(None) => unreachable!("Expected a non-null extern reference"),
722
+ WastRetCore::RefExtern(Some(index)) => {
723
+ Value::Ref(wasm::value::Ref::Extern(wasm::value::ExternAddr {
724
+ addr: Some(index as usize),
725
+ }))
726
+ }
727
other => {
728
return Err(Box::new(GenericError::new(&format!(
729
"handling of wast ret type {other:?} not yet implemented"
0 commit comments