MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / check_clang

Function check_clang

src/execution/mod.rs:906–915  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

904}
905
906fn check_clang() -> Result<()> {
907 let output = Command::new("clang++")
908 .arg("-v")
909 .output()
910 .expect("failed to execute the clang check process.");
911 if !output.status.success() {
912 eyre::bail!("clang does not exist in your environment!");
913 }
914 Ok(())
915}
916
917/// if the exit code represent program executed normally.
918fn is_exit_normally(code: Option<i32>) -> bool {

Callers 1

newMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected