Skip to content

Commit 51042e5

Browse files
committed
fix test without embed
1 parent a65282d commit 51042e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/sapi.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ extern crate ext_php_rs;
55
use ext_php_rs::builders::SapiBuilder;
66
#[cfg(feature = "embed")]
77
use ext_php_rs::embed::{ext_php_rs_sapi_startup, Embed};
8+
#[cfg(feature = "embed")]
89
use ext_php_rs::ffi::{
910
php_module_shutdown, php_module_startup, php_request_shutdown, php_request_startup,
1011
sapi_shutdown, sapi_startup, ZEND_RESULT_CODE_SUCCESS,
1112
};
1213
use ext_php_rs::prelude::*;
14+
#[cfg(feature = "embed")]
1315
use ext_php_rs::zend::try_catch;
1416

1517
#[test]

0 commit comments

Comments
 (0)