I hereby claim:
- I am danhhz on github.
- I am danhhz (https://keybase.io/danhhz) on keybase.
- I have a public key ASDoRChLsrFTQbIuRanvdU9qMFFJilErfZBQJaCjhrV4nwo
To claim this, I am signing this object:
#[cfg(test)] | |
mod tests { | |
use std::process::Command; | |
use std::time::Duration; | |
use std::{env, thread}; | |
#[test] | |
fn child_process_hack() { | |
let in_child = env::args().any(|x| x == "child_process_hack"); | |
if !in_child { |
struct InstrumentsPointsOfInterest; | |
impl InstrumentsPointsOfInterest { | |
fn code(x: &std::path::Path) -> u32 { | |
// NB: kdebug_signpost* only keeps the bottom 14 bits of this but that | |
// seems fine. | |
use std::collections::hash_map::DefaultHasher; | |
let mut h = DefaultHasher::new(); | |
x.hash(&mut h); | |
h.finish() as u32 |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object: