Skip to content

Commit ea078bb

Browse files
committed
Test
1 parent 942ec64 commit ea078bb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

guide/src/macros/impl.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,12 @@ var_dump(Human::MAX_AGE); // int(100)
182182

183183
In this example, we're exposing an async Rust HTTP client library called [reqwest](https://docs.rs/reqwest/latest/reqwest/) to PHP, using [PHP fibers](https://www.php.net/manual/en/language.fibers.php), [php-tokio](https://github.com/danog/php-tokio) and the [PHP Revolt event loop](https://revolt.run) under the hood to handle async interoperability.
184184

185-
This allows full compatibility with [amphp](https://amphp.org), [PSL](https://github.com/azjezz/psl), [reactphp](https://reactphp.org) and any other async PHP library based on [Revolt](https://revolt.run).
185+
This allows full compatibility with [amphp](https://amphp.org), [PSL](https://github.com/azjezz/psl), [reactphp](https://reactphp.org) and any other async PHP library based on [Revolt](https://revolt.run).
186+
187+
Currently, only POSIX platforms are supported by php-tokio (Linux & Mac OS).
186188

187189
```rust,no_run
188-
# #![cfg_attr(windows, feature(abi_vectorcall))]
190+
# #![cfg(unix)]
189191
# extern crate ext_php_rs;
190192
# use ext_php_rs::prelude::*;
191193
use php_tokio::EventLoop;

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ pub use ext_php_rs_derive::php_impl;
402402
/// # Example
403403
///
404404
/// ```no_run
405-
/// # #![cfg_attr(windows, feature(abi_vectorcall))]
405+
/// # #![cfg(unix))]
406406
/// # use ext_php_rs::prelude::*;
407407
/// use php_tokio::EventLoop;
408408
///

0 commit comments

Comments
 (0)