MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / clang

Function clang

crates/test/src/c.rs:36–42  ·  view source on GitHub ↗
(runner: &Runner)

Source from the content-addressed store, hash-verified

34}
35
36fn clang(runner: &Runner) -> PathBuf {
37 let target = &runner.opts.c.c_target;
38 match &runner.opts.c.wasi_sdk_path {
39 Some(path) => path.join(format!("bin/{target}-clang")),
40 None => format!("{target}-clang").into(),
41 }
42}
43
44impl LanguageMethods for C {
45 fn display(&self) -> &str {

Callers 4

prepareMethod · 0.85
compileMethod · 0.85
verifyMethod · 0.85
compileFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected