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 fc6a8ae commit 116c698Copy full SHA for 116c698
build.rs
@@ -228,6 +228,8 @@ fn check_php_version(info: &PHPInfo) -> Result<()> {
228
229
const PHP_82_API_VER: u32 = 20220829;
230
231
+ const PHP_83_API_VER: u32 = 20230831;
232
+
233
println!("cargo:rustc-cfg=php80");
234
235
if (PHP_81_API_VER..PHP_82_API_VER).contains(&version) {
@@ -238,6 +240,10 @@ fn check_php_version(info: &PHPInfo) -> Result<()> {
238
240
println!("cargo:rustc-cfg=php82");
239
241
}
242
243
+ if version >= PHP_83_API_VER {
244
+ println!("cargo:rustc-cfg=php83");
245
+ }
246
247
Ok(())
248
249
0 commit comments