Home
last modified time | relevance | path

Searched refs:ProcessWrapperError (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/bazelbuild-rules_rust/util/process_wrapper/
H A Dmain.rs54 struct ProcessWrapperError(String); struct
56 impl fmt::Display for ProcessWrapperError { implementation
62 impl std::error::Error for ProcessWrapperError {} implementation
64 fn main() -> Result<(), ProcessWrapperError> { in main()
65 let opts = options().map_err(|e| ProcessWrapperError(e.to_string()))?; in main()
77 .map_err(|e| ProcessWrapperError(format!("unable to open stdout file: {}", e)))? in main()
84 .map_err(|e| ProcessWrapperError(format!("failed to spawn child process: {}", e)))?; in main()
93 .map_err(|e| ProcessWrapperError(format!("unable to open stderr file: {}", e)))?, in main()
99 let mut child_stderr = child.stderr.take().ok_or(ProcessWrapperError( in main()
110 .map_err(|e| ProcessWrapperError(format!("Unable to open output_file: {}", e)))?, in main()
[all …]