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.
suricata/rust
Victor Julien 1dcb549109 rust: keep the ffi logger out of the test binary
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.
1 day ago
..
.cargo
…
derive rust: inherit common package metadata from workspace 5 days ago
ffi rust: keep the ffi logger out of the test binary 1 day ago
htp rust: hoist nom 8 dependency into workspace 5 days ago
src dcerpc: require PFC_LAST_FRAG for completion 5 days ago
suricatactl rust: hoist regex dependency into workspace 5 days ago
suricatasc rust: hoist serde_json dependency into workspace 5 days ago
sys rust: inherit common package metadata from workspace 5 days ago
.gitignore
…
Cargo.lock.in rust: update clipboard-win 5 days ago
Cargo.toml.in rust: hoist nom 8 dependency into workspace 5 days ago
Makefile.am rust/derive: add Makefile for Cargo.toml regeneration 5 days ago
cbindgen.toml http2: split transaction state machines 4 months ago
rustfmt.toml
…