Skip to content

Commit 3ca8f0e

Browse files
committed
fix: conditional import after merge
1 parent e95dc46 commit 3ca8f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

profiling/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl SystemSettings {
133133
// Work around version-specific issues.
134134
#[cfg(not(php_zend_mm_set_custom_handlers_ex))]
135135
if allocation::allocation_le83::first_rinit_should_disable_due_to_jit() {
136-
if zend::PHP_VERSION_ID >= 80400 {
136+
if bindings::PHP_VERSION_ID >= 80400 {
137137
error!("Memory allocation profiling will be disabled as long as JIT is active. To enable allocation profiling disable JIT or upgrade PHP to at least version 8.4.7. See https://github.com/DataDog/dd-trace-php/pull/3199");
138138
} else {
139139
error!("Memory allocation profiling will be disabled as long as JIT is active. To enable allocation profiling disable JIT or upgrade PHP to at least version 8.1.21 or 8.2.8. See https://github.com/DataDog/dd-trace-php/pull/2088");

0 commit comments

Comments
 (0)