Skip to content

Commit ab75249

Browse files
Erik Schillingepilys
authored andcommitted
bindings: wrap header list
This prevents it from getting longer every time we extend this. Also, it allows sorting the lines a bit easier. Signed-off-by: Erik Schilling <[email protected]>
1 parent 61a44f7 commit ab75249

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

crates/virtio-bindings/CONTRIBUTING.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,15 @@ git checkout v5.0
3434
# you need them for your project.
3535
make headers_install INSTALL_HDR_PATH=v5_0_headers
3636
cd v5_0_headers
37-
for i in virtio_blk virtio_config virtio_gpu virtio_mmio virtio_net virtio_ring virtio_scsi ; do \
37+
for i in \
38+
virtio_blk \
39+
virtio_config \
40+
virtio_gpu \
41+
virtio_mmio \
42+
virtio_net \
43+
virtio_ring \
44+
virtio_scsi \
45+
; do \
3846
bindgen include/linux/$i.h -o $i.rs \
3947
--allowlist-file include/linux/$i.h \
4048
--with-derive-default \

0 commit comments

Comments
 (0)