From: Philippe Antoine Date: Thu, 23 Jan 2025 09:12:05 +0000 (+0100) Subject: rust: generated bindings depend on cbindgen.toml X-Git-Tag: suricata-8.0.0-beta1~525 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c932915656cb22e68c8ca02e0bc2a1368c2d917;p=thirdparty%2Fsuricata.git rust: generated bindings depend on cbindgen.toml make should rerun cbindgen if cbindgen.toml is modified --- diff --git a/rust/Makefile.am b/rust/Makefile.am index d53eb97090..a47a1c1534 100644 --- a/rust/Makefile.am +++ b/rust/Makefile.am @@ -84,7 +84,7 @@ vendor: $(CARGO_ENV) $(CARGO) vendor if HAVE_CBINDGEN -gen/rust-bindings.h: $(RUST_SURICATA_LIB) +gen/rust-bindings.h: $(RUST_SURICATA_LIB) cbindgen.toml cd $(abs_top_srcdir)/rust && \ cbindgen --config $(abs_top_srcdir)/rust/cbindgen.toml \ --quiet --verify --output $(abs_top_builddir)/rust/gen/rust-bindings.h || true