Skip to content

Commit ffb83ed

Browse files
committed
fix(try): add missing feature flag for test
1 parent ad35650 commit ffb83ed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/zend/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub use globals::ExecutorGlobals;
2323
pub use handlers::ZendObjectHandlers;
2424
pub use ini_entry_def::IniEntryDef;
2525
pub use module::ModuleEntry;
26+
#[cfg(feature = "embed")]
2627
pub(crate) use try_catch::panic_wrapper;
2728
pub use try_catch::{bailout, try_catch};
2829

src/zend/try_catch.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ pub fn bailout() {
6262
}
6363
}
6464

65+
#[cfg(feature = "embed")]
6566
#[cfg(test)]
6667
mod tests {
6768
use crate::embed::Embed;

0 commit comments

Comments
 (0)