mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-24 01:09:26 +00:00
Fix panic if attempting to compile with unsupported CPU (eg. x86_64 without AVX or SSE4.2)
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
|
||||
|
Reference in New Issue
Block a user