pub fn prepare_shared_rust_runtime(
rustc: &Path,
directory: &Path,
) -> Result<PathBuf, RustCompilerOrchestrationError>Expand description
Compile the one process-wide Rust probe runtime with the exact rustc path Cargo supplied to its wrapper. Concurrent rustc wrapper processes converge on one atomically published archive; a killed builder cannot create a partially valid archive or make peers wait indefinitely.