From f4031c52bda3af1d7209f494dfb5645a52bc9bc4 Mon Sep 17 00:00:00 2001 From: Stefano Garzarella Date: Tue, 3 Mar 2026 12:22:25 +0100 Subject: [PATCH 1/2] igvm_c/README: add cargo-c to the list of dependencies Commit b5d7ed6 ("igvm_c: switch Makefile to cargo-c (#94)") introduced `cargo-c` as a build dependency but the README was not updated to document it. Add `cargo-c` alongside `cbindgen` in the dependencies section. Signed-off-by: Stefano Garzarella --- igvm_c/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/igvm_c/README.md b/igvm_c/README.md index f8eddd3..e6df33e 100644 --- a/igvm_c/README.md +++ b/igvm_c/README.md @@ -11,11 +11,12 @@ API does not need to be manually updated inline with any changes to the rust definitions. ## Dependencies -The C API header files are generated using the `cbindgen` tool. This tool needs -to be installed before the API can be built. This can be achieved using: +The C API header files are generated using the `cbindgen` tool and the library is +built and installed using `cargo-c`. Both tools need to be installed before the +API can be built. This can be achieved using: ```bash -cargo install --force cbindgen +cargo install --force cbindgen cargo-c ``` In addition, `sample/dump_igvm` and the C unit tests requires a C compiler to be From ede1c55ef616e4f055034ca87f4092b8c032fdfd Mon Sep 17 00:00:00 2001 From: Chris Oo Date: Wed, 18 Mar 2026 11:07:07 -0700 Subject: [PATCH 2/2] docs: merge cargo-c readme updates --- igvm_c/README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/igvm_c/README.md b/igvm_c/README.md index b3be8f8..e6df33e 100644 --- a/igvm_c/README.md +++ b/igvm_c/README.md @@ -19,12 +19,6 @@ API can be built. This can be achieved using: cargo install --force cbindgen cargo-c ``` -Also, `cargo-c` needs to be installed to build the C code: - -```bash -cargo install --force cargo-c -``` - In addition, `sample/dump_igvm` and the C unit tests requires a C compiler to be installed.