mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-24 01:09:26 +00:00
Merge remote-tracking branch 'origin/main' into run-264-upgrade-to-http-10
This commit is contained in:
@ -129,9 +129,8 @@ impl Compiler for SinglepassCompiler {
|
||||
target,
|
||||
calling_convention,
|
||||
)
|
||||
.unwrap()
|
||||
})
|
||||
.collect::<Vec<_>>()
|
||||
.collect::<Result<Vec<_>, _>>()?
|
||||
.into_iter()
|
||||
.collect();
|
||||
let (functions, fdes): (Vec<CompiledFunction>, Vec<_>) = function_body_inputs
|
||||
@ -212,8 +211,8 @@ impl Compiler for SinglepassCompiler {
|
||||
.values()
|
||||
.collect::<Vec<_>>()
|
||||
.into_par_iter_if_rayon()
|
||||
.map(|func_type| gen_std_trampoline(func_type, target, calling_convention).unwrap())
|
||||
.collect::<Vec<_>>()
|
||||
.map(|func_type| gen_std_trampoline(func_type, target, calling_convention))
|
||||
.collect::<Result<Vec<_>, _>>()?
|
||||
.into_iter()
|
||||
.collect::<PrimaryMap<_, _>>();
|
||||
|
||||
@ -228,9 +227,8 @@ impl Compiler for SinglepassCompiler {
|
||||
target,
|
||||
calling_convention,
|
||||
)
|
||||
.unwrap()
|
||||
})
|
||||
.collect::<Vec<_>>()
|
||||
.collect::<Result<Vec<_>, _>>()?
|
||||
.into_iter()
|
||||
.collect::<PrimaryMap<FunctionIndex, FunctionBody>>();
|
||||
|
||||
|
Reference in New Issue
Block a user