Function bootstrap::utils::helpers::get_clang_cl_resource_dir
source · pub fn get_clang_cl_resource_dir(
builder: &Builder<'_>,
clang_cl_path: &str,
) -> PathBuf
Expand description
When clang-cl
is used with instrumentation, we need to add clang’s runtime library resource
directory to the linker flags, otherwise there will be linker errors about the profiler runtime
missing. This function returns the path to that directory.