We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab5289f commit 360fae6Copy full SHA for 360fae6
build.rs
@@ -230,6 +230,13 @@ fn check_php_version(info: &PHPInfo) -> Result<()> {
230
231
const PHP_83_API_VER: u32 = 20230831;
232
233
+ println!("cargo::rustc-check-cfg=cfg(php80)");
234
+ println!("cargo::rustc-check-cfg=cfg(php81)");
235
+ println!("cargo::rustc-check-cfg=cfg(php82)");
236
+ println!("cargo::rustc-check-cfg=cfg(php83)");
237
+ println!("cargo::rustc-check-cfg=cfg(php_debug)");
238
+ println!("cargo::rustc-check-cfg=cfg(php_zts)");
239
+
240
println!("cargo:rustc-cfg=php80");
241
242
if (PHP_81_API_VER..PHP_82_API_VER).contains(&version) {
0 commit comments