-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
I just tried compiling the hello
example against PHP 8 and PHP 7.4 and got this 54 times when compiling php-sys. I noticed in the build.rs
of php-sys _Float64x
is declared as a blocked item but when not blocked, it translates to a u128
which isn't FFI safe.
error[E0412]: cannot find type `_Float64x` in this scope
--> /home/ps/dev/phper/target/debug/build/phper-sys-89df922599ad3f64/out/php_bindings.rs:9716:60
|
3039 | pub type _Float64 = f64;
| ------------------------ similarly named type alias `_Float64` defined here
...
9716 | pub fn f64fmaf64x(__x: _Float64x, __y: _Float64x, __z: _Float64x) -> _Float64;
| ^^^^^^^^^ help: a type alias with a similar name exists: `_Float64`
I've tried this with phper 0.6.0 and 0.5.1.
Metadata
Metadata
Assignees
Labels
No labels