Skip to content

Commit 7812b7f

Browse files
committed
Test docs.rs stub file in lint build
1 parent b47f8ba commit 7812b7f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,8 @@ jobs:
104104
with:
105105
command: clippy
106106
args: -- -D warnings
107+
- name: Build with docs stub
108+
env:
109+
DOCS_RS:
110+
run:
111+
cargo clean && cargo build

docsrs_bindings.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* automatically generated by rust-bindgen 0.59.1 */
22

3-
/// This file is used to build the documentation for `ext-php-rs` when being built on docs.rs runners.
4-
/// As these runners do not have PHP 8.0 installed, they are unable to generate the bindings to the PHP
5-
/// APIs.
3+
/// This file is used to build the documentation for `ext-php-rs` when being
4+
/// built on docs.rs runners. As these runners do not have PHP 8.0 installed,
5+
/// they are unable to generate the bindings to the PHP APIs.
66
77
/// This file was generated under the following conditions:
88
///

0 commit comments

Comments
 (0)