From 27b6acdb16f85f45b8c03a05d1bafa0ee3da5101 Mon Sep 17 00:00:00 2001 From: Syrus Date: Thu, 21 Nov 2019 18:55:38 -0800 Subject: [PATCH] Fixed typo --- lib/runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runtime/src/lib.rs b/lib/runtime/src/lib.rs index 0f84a8194..2ac6c1742 100644 --- a/lib/runtime/src/lib.rs +++ b/lib/runtime/src/lib.rs @@ -230,7 +230,7 @@ pub fn default_compiler() -> impl Compiler { #[cfg(all(feature = "default-backend-singlepass", not(feature = "docs")))] use wasmer_singlepass_backend::SinglePassCompiler as DefaultCompiler; - #[cfg(any(feature = "default-backend-singlepass", feature = "docs"))] + #[cfg(any(feature = "default-backend-cranelift", feature = "docs"))] use wasmer_clif_backend::CraneliftCompiler as DefaultCompiler; DefaultCompiler::new()