mirror of
https://github.com/fluencelabs/wasmer
synced 2025-05-12 02:27:11 +00:00
cargo fmt
This commit is contained in:
parent
e245742251
commit
3399dddb5b
@ -111,17 +111,13 @@ impl FuncResolverBuilder {
|
|||||||
ir::LibCall::TruncF64 => libcalls::truncf64 as isize,
|
ir::LibCall::TruncF64 => libcalls::truncf64 as isize,
|
||||||
ir::LibCall::NearestF64 => libcalls::nearbyintf64 as isize,
|
ir::LibCall::NearestF64 => libcalls::nearbyintf64 as isize,
|
||||||
ir::LibCall::Probestack => libcalls::__rust_probestack as isize,
|
ir::LibCall::Probestack => libcalls::__rust_probestack as isize,
|
||||||
_ => {
|
_ => Err(CompileError::InternalError {
|
||||||
Err(CompileError::InternalError {
|
msg: format!("unexpected libcall: {}", libcall),
|
||||||
msg: format!("unexpected libcall: {}", libcall),
|
})?,
|
||||||
})?
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
RelocationType::Intrinsic(ref name) => {
|
RelocationType::Intrinsic(ref name) => Err(CompileError::InternalError {
|
||||||
Err(CompileError::InternalError {
|
msg: format!("unexpected intrinsic: {}", name),
|
||||||
msg: format!("unexpected intrinsic: {}", name),
|
})?,
|
||||||
})?
|
|
||||||
}
|
|
||||||
RelocationType::VmCall(vmcall) => match vmcall {
|
RelocationType::VmCall(vmcall) => match vmcall {
|
||||||
VmCall::LocalStaticMemoryGrow => vmcalls::local_static_memory_grow as _,
|
VmCall::LocalStaticMemoryGrow => vmcalls::local_static_memory_grow as _,
|
||||||
VmCall::LocalStaticMemorySize => vmcalls::local_static_memory_size as _,
|
VmCall::LocalStaticMemorySize => vmcalls::local_static_memory_size as _,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user