snare 3.4.0

Ergonomic in-process network testing on top of snare-interpose: write the code under test against std, describe the peer with a tester builder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! mimalloc as the global allocator: see `support/allocator.rs`.
#![cfg(unix)]

#[global_allocator]
static ALLOCATOR: mimalloc::MiMalloc = mimalloc::MiMalloc;

#[path = "support/allocator.rs"]
mod allocator;

#[test]
fn threads_allocating_under_sims() {
    allocator::under_sims();
}