mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-23 05:31:32 +00:00
Reformat.
This commit is contained in:
@ -24,10 +24,11 @@ pub fn type_to_type(ty: WpType) -> Result<Type, BinaryReaderError> {
|
|||||||
|
|
||||||
pub fn blocktype_to_type(ty: WpTypeOrFuncType) -> Result<Type, BinaryReaderError> {
|
pub fn blocktype_to_type(ty: WpTypeOrFuncType) -> Result<Type, BinaryReaderError> {
|
||||||
match ty {
|
match ty {
|
||||||
WpTypeOrFuncType::Type(inner_ty) => { type_to_type(inner_ty) }
|
WpTypeOrFuncType::Type(inner_ty) => type_to_type(inner_ty),
|
||||||
_ => {
|
_ => {
|
||||||
return Err(BinaryReaderError {
|
return Err(BinaryReaderError {
|
||||||
message: "the wasmer llvm backend does not yet support the multi-value return extension",
|
message:
|
||||||
|
"the wasmer llvm backend does not yet support the multi-value return extension",
|
||||||
offset: -1isize as usize,
|
offset: -1isize as usize,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user