]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust: add bindings to SCPlugin.* to sys crate 12357/head 12590/head
authorJason Ish <jason.ish@oisf.net>
Fri, 24 Jan 2025 15:56:58 +0000 (09:56 -0600)
committerVictor Julien <victor@inliniac.net>
Mon, 17 Feb 2025 06:31:29 +0000 (07:31 +0100)
commit10ede915369b87d0bab830bd290265e4786038a7
tree1579be80e917adaa7fc5a6ea0a2bd73516107727
parent9b73de6f6de4051668641c03df39b4bbf81ba3a3
rust: add bindings to SCPlugin.* to sys crate

Also disable bindgen's generated layout tests.  They are valid for the
platform generating the tests, but may not be valid for other
platforms. For example, if the tests are generated on a 64 bit
platform the tests will not be valid when run on a 32 bit platform as
pointers are a different size.

However, the generating bindings are valid for both platform.

Ticket: #7341
rust/Makefile.am
rust/sys/src/sys.rs
src/bindgen.h