Skip to content

Commit

Permalink
engine-universal: fix compilation with default features off
Browse files Browse the repository at this point in the history
  • Loading branch information
epilys committed Jun 6, 2022
1 parent 3d4aada commit eb94b1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/engine-universal/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ pub struct UniversalEngineInner {

impl UniversalEngineInner {
/// Gets the compiler associated to this engine.
#[cfg(feature = "compiler")]
pub fn compiler(&self) -> Result<&dyn Compiler, CompileError> {
self.builder.compiler()
}
Expand Down

0 comments on commit eb94b1b

Please sign in to comment.