fn gnu_clang(path: &Path, code: &[u8]) -> Result<Vec<u8>> {
		let mut process = Command::new(path)
			.args(&["-nostdinc", "-P", "-E", "-x", "c", "-"])
			.stdin(Stdio::piped())
			.stdout(Stdio::piped())
			.stderr(Stdio::piped())
			.spawn()?;

		process.stdin.as_mut().unwrap().write_all(code)?;

		capture(process)
	}
// Arguments are the same for Clang and Gnu gcc
Arguments are the same for Clang and Gnu gcc
Arguments are the same for Clang and Gnu gcc
fn gnu_clang(path: &Path, code: &[u8]) -> Result<Vec<u8>> {
		let mut process = Command::new(path)
			.args(&["-nostdinc", "-P", "-E", "-x", "c", "-"])
			.stdin(Stdio::piped())
			.stdout(Stdio::piped())
			.stderr(Stdio::piped())
			.spawn()?;
		process.stdin.as_mut().unwrap().write_all(code)?;
		capture(process)
	}
fn gnu_clang ( path : & Path , code : & [ u8 ] ) -> Result < Vec < u8 > > { let mut process = Command :: new ( path ) . args ( & [ " " , " " , " " , " " , " " , " " ] ) . stdin ( Stdio :: piped ( ) ) . stdout ( Stdio :: piped ( ) ) . stderr ( Stdio :: piped ( ) ) . spawn ( ) ? ; process . stdin . as_mut ( ) . unwrap ( ) . write_all ( code ) ? ; capture ( process ) }
Arguments are the same for Clang and Gnu gcc
Arguments are the same for Clang and Gnu gcc
path
&Path
code
&[u8]
path
&Path
code
&[u8]