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(),
|
.engine(),
|
||||||
),
|
),
|
||||||
#[cfg(feature = "native")]
|
#[cfg(feature = "native")]
|
||||||
EngineType::Native => {
|
EngineType::Native => Box::new(
|
||||||
Box::new(
|
wasmer_engine_native::Native::new(compiler_config)
|
||||||
wasmer_engine_native::Native::new(compiler_config)
|
.target(target)
|
||||||
.target(target)
|
.features(features)
|
||||||
.features(features)
|
.engine(),
|
||||||
.engine(),
|
),
|
||||||
)
|
|
||||||
}
|
|
||||||
#[cfg(feature = "object-file")]
|
#[cfg(feature = "object-file")]
|
||||||
EngineType::ObjectFile => {
|
EngineType::ObjectFile => Box::new(
|
||||||
Box::new(
|
wasmer_engine_object_file::ObjectFile::new(compiler_config)
|
||||||
wasmer_engine_object_file::ObjectFile::new(compiler_config)
|
.target(target)
|
||||||
.target(target)
|
.features(features)
|
||||||
.features(features)
|
.engine(),
|
||||||
.engine(),
|
),
|
||||||
)
|
|
||||||
}
|
|
||||||
#[cfg(not(all(feature = "jit", feature = "native", feature = "object-file")))]
|
#[cfg(not(all(feature = "jit", feature = "native", feature = "object-file")))]
|
||||||
engine => bail!(
|
engine => bail!(
|
||||||
"The `{}` engine is not included in this binary.",
|
"The `{}` engine is not included in this binary.",
|
||||||
|
|||||||
Reference in New Issue
Block a user