Skip to content

Commit

Permalink
fix(try): add missing feature flag for test
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwurtz committed Oct 21, 2023
1 parent ad35650 commit ffb83ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/zend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub use globals::ExecutorGlobals;
pub use handlers::ZendObjectHandlers;
pub use ini_entry_def::IniEntryDef;
pub use module::ModuleEntry;
#[cfg(feature = "embed")]
pub(crate) use try_catch::panic_wrapper;
pub use try_catch::{bailout, try_catch};

Expand Down
1 change: 1 addition & 0 deletions src/zend/try_catch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ pub fn bailout() {
}
}

#[cfg(feature = "embed")]
#[cfg(test)]
mod tests {
use crate::embed::Embed;
Expand Down

0 comments on commit ffb83ed

Please sign in to comment.