mirror of https://github.com/OISF/suricata
frames(rust): don't call into C if running Rust unit tests
Wrap the calls behind frames to C code if a `cfg!(not(test))` so they don't get compiled when running Rust unit tests. Linkage to C functions is not yet available for Rust unit tests, and this will keep the check out of individual parsers. Ticket: 4984pull/7349/head
parent
c74ea3840d
commit
8d1840f595
Loading…
Reference in New Issue