-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
cargo-phpRelated to `cargo-php`Related to `cargo-php`enhancementNew feature or requestNew feature or request
Description
cargo php test
It should enable running Rust tests with loaded Zend API, which would greatly simplify development by getting rid of numerous hacks like:
#[cfg(not(any(test, feature = "test")))]
type _Zval = Zval;
#[cfg(any(test, feature = "test"))]
type _Zval = str;
cargo php bench
Besides loading Zend API it should allow running benchmarks with
[lib]
crate-type = ["cdylib"]
in Cargo.toml
Now I am using an additional cdylib-crate (which depends on the crate with path ..
) to run cargo php
.
cargo bench
and cargo test
I run in the parent non-cdylib crate.
It'd be neat to use just a single crate.
Metadata
Metadata
Assignees
Labels
cargo-phpRelated to `cargo-php`Related to `cargo-php`enhancementNew feature or requestNew feature or request