MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / compile_spawn_binary

Function compile_spawn_binary

crates/memtrack/tests/spawn_tests.rs:9–11  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

7use std::process::Command;
8
9fn compile_spawn_binary(name: &str) -> anyhow::Result<std::path::PathBuf> {
10 shared::compile_rust_binary(Path::new("testdata/spawn_wrapper"), name, &[])
11}
12
13/// Without discovering the child's static allocator, the spawned child's
14/// jemalloc allocations should NOT be tracked — we expect no marker-delimited events.

Calls 1

compile_rust_binaryFunction · 0.85

Tested by

no test coverage detected