mirror of https://github.com/OISF/suricata
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rust unit tests link without libsuricata, so a C reference anywhere in the reachable code makes the test binary unlinkable. The ffi logger calls SCLogMessage even under cfg(test), unlike the suricata crate's own, which has a print fallback. Any test that reaches AppLayerTxData::update_file_flags therefore breaks cargo test --lib whenever the debug feature is on: it fails the GitHub jobs that build with --enable-debug or --all-features while our own CI never sees it. Give log_message the same fallback behind cfg(any(test, feature = "testing")), the pattern applayer.rs already uses for set_event. |
23 hours ago | |
|---|---|---|
| .. | ||
| src | 23 hours ago | |
| Cargo.toml.in | 5 days ago | |
| Makefile.am | ||
| cbindgen.toml | 5 months ago | |