mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 12:48:20 +00:00
Run rustfmt
This commit is contained in:
@@ -144,23 +144,19 @@ impl CompilerOptions {
|
||||
.engine(),
|
||||
),
|
||||
#[cfg(feature = "native")]
|
||||
EngineType::Native => {
|
||||
Box::new(
|
||||
wasmer_engine_native::Native::new(compiler_config)
|
||||
.target(target)
|
||||
.features(features)
|
||||
.engine(),
|
||||
)
|
||||
}
|
||||
EngineType::Native => Box::new(
|
||||
wasmer_engine_native::Native::new(compiler_config)
|
||||
.target(target)
|
||||
.features(features)
|
||||
.engine(),
|
||||
),
|
||||
#[cfg(feature = "object-file")]
|
||||
EngineType::ObjectFile => {
|
||||
Box::new(
|
||||
wasmer_engine_object_file::ObjectFile::new(compiler_config)
|
||||
.target(target)
|
||||
.features(features)
|
||||
.engine(),
|
||||
)
|
||||
}
|
||||
EngineType::ObjectFile => Box::new(
|
||||
wasmer_engine_object_file::ObjectFile::new(compiler_config)
|
||||
.target(target)
|
||||
.features(features)
|
||||
.engine(),
|
||||
),
|
||||
#[cfg(not(all(feature = "jit", feature = "native", feature = "object-file")))]
|
||||
engine => bail!(
|
||||
"The `{}` engine is not included in this binary.",
|
||||
|
||||
Reference in New Issue
Block a user