Skip to content

Commit 3b6c9f9

Browse files
author
David Hotham
committed
Document autogeneration
Signed-off-by: David Hotham <david.hotham@metaswitch.com>
1 parent e5a56c8 commit 3b6c9f9

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@ By default, `/usr/lib`, `/usr/local/lib64`, and `/usr/local/lib` are added to th
5252

5353
A semicolon separated list of additional directories to add to the linker search path may be specified through the `CASSANDRA_SYS_LIB_PATH` environment variable.
5454

55+
## Autogeneration
56+
57+
The file `cassandra.rs` is autogenerated as follows:
58+
59+
60+
```
61+
$ bindgen --no-layout-tests --blacklist-type=max_align_t --output=src/cassandra.rs cassandra.h
62+
```
63+
64+
The autogenerated code is formatted with `rustfmt`.
65+
5566

5667
## History
5768

0 commit comments

Comments
 (0)