mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-12 05:18:43 +00:00
Simplified compiler config names
This commit is contained in:
@@ -52,11 +52,11 @@ impl Default for Store {
|
||||
))] {
|
||||
compile_error!("Only one compiler can be the default")
|
||||
} else if #[cfg(feature = "default-cranelift")] {
|
||||
wasmer_compiler_cranelift::CraneliftConfig::default()
|
||||
wasmer_compiler_cranelift::Cranelift::default()
|
||||
} else if #[cfg(feature = "default-llvm")] {
|
||||
wasmer_compiler_llvm::LLVMConfig::default()
|
||||
wasmer_compiler_llvm::LLVM::default()
|
||||
} else if #[cfg(feature = "default-singlepass")] {
|
||||
wasmer_compiler_singlepass::SinglepassConfig::default()
|
||||
wasmer_compiler_singlepass::Singlepass::default()
|
||||
} else {
|
||||
compile_error!("No compiler chosen")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user