Skip to content

Commit

Permalink
Fix conditional build for get_default_compiler_config of C-Api (for w…
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb authored and epilys committed May 12, 2022
1 parent c7bea3a commit 27702a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/c-api/src/wasm_c_api/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ pub struct wasm_engine_t {
#[cfg(feature = "compiler")]
use wasmer_api::CompilerConfig;

#[cfg(feature = "compiler")]
#[cfg(all(feature = "compiler", any(feature = "universal", feature = "dylib")))]
fn get_default_compiler_config() -> Box<dyn CompilerConfig> {
cfg_if! {
if #[cfg(feature = "cranelift")] {
Expand Down

0 comments on commit 27702a1

Please sign in to comment.