Debian Codegraph @

CONTRIBUTING.md

raw symbols SCIP
1 # Contributing to virtio-bindings
2
3 ## Dependencies
4
5 ### Bindgen
6 The bindings are currently generated using
7 [bindgen](https://rust-lang.github.io/rust-bindgen/) version 0.71.1:
8 ```bash
9 cargo install bindgen-cli --vers 0.71.1
10 ```
11
12 ### Linux Kernel
13 Generating bindings depends on the Linux kernel, so you need to have the
14 repository on your machine:
15
16 ```bash
17 git clone https://github.com/torvalds/linux.git
18 ```
19
20 ## Example for updating to a new kernel version
21
22 For this example we assume that you have both linux and virtio-bindings
23 repositories in your home directory.
24
25 ```bash
26 cd ~/vm-virtio/virtio-bindings
27 scripts/generate-bindings.sh ~/linux
28 ```