pub fn compile_rust(
rust_code: &str,
config: &DiffTestConfig,
) -> Result<(TempDir, PathBuf)>Expand description
Compile Rust source code with rustc and return the temp directory + binary path.
The caller owns the returned TempDir; dropping it cleans up all files.