iai_callgrind::client_requests::drd

Function annotate_benign_race_sized

source
pub fn annotate_benign_race_sized<T>(addr: &T, size: usize)
Available on crate feature client_requests_defs only.
Expand description

Same as annotate_benign_race, but applies to the memory range [addr, addr + size).

Any races detected on the specified variable are benign and hence should not be reported.