Skip to content

Commit

Permalink
add note to update docs.rs bindings
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
davidcole1340 committed Oct 16, 2022
1 parent 24d703d commit 296c3ad
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions allowed_bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@
// exist in the bindings file. Which ever script include!s the bindings must
// define the `bind` macro. This allows us to have the list in string format
// inside the build script and in macro format inside the CLI crate.
//
// NOTE TO EDITORS:
// When updating this file, you must re-generate the `docsrs_bindings.rs`
// file used by docs.rs to build documentation. To perform this:
//
// $ cargo clean
// $ cargo build
// $ cp target/debug/build/ext-php-rs-e2cb315d27898d01/out/bindings.rs
// docsrs_bindings.rs
// $ git add . && git commit -m "update docs.rs bindings"
//
// The hash after `ext-php-rs-` in the bindings path may change. There should
// be two folders beginning with `ext-php-rs-` in `target/debug/build`, so
// check both for the presense of the bindings file.

bind! {
HashTable,
Expand Down

0 comments on commit 296c3ad

Please sign in to comment.