valkey-io / valkeymodule-rs

Rust valkey SDK for modules
BSD 3-Clause "New" or "Revised" License
20 stars 5 forks source link

Use System allocator for unit tests #20

Open dmitrypol opened 2 months ago

dmitrypol commented 2 months ago

run cargo test --all --all-targets --no-default-features

     Running unittests examples/acl.rs (target/debug/examples/acl-1f751d51d90ab3bc)
Critical error: the Valkey Allocator isn't available.
error: test failed, to rerun pass `--example acl`

Caused by:
  process didn't exit successfully: `...valkeymodule-rs/target/debug/examples/acl-1f751d51d90ab3bc` (signal: 6, SIGABRT: process abort signal)