Lines Matching refs:out_dir
251 let out_dir = env::var("OUT_DIR").unwrap(); in ring_build_rs_main() localVariable
252 let out_dir = PathBuf::from(out_dir); in ring_build_rs_main() localVariable
279 build_c_code(&target, pregenerated, &out_dir); in ring_build_rs_main()
325 fn build_c_code(target: &Target, pregenerated: PathBuf, out_dir: &Path) { in build_c_code()
366 out_dir in build_c_code()
418 &out_dir, in build_c_code()
429 out_dir.to_str().expect("Invalid path") in build_c_code()
435 out_dir: &Path, in build_library()
447 .map(|f| compile(f, target, warnings_are_errors, out_dir, includes_modified)) in build_library()
451 let lib_path = PathBuf::from(out_dir).join(format!("lib{}.a", lib_name)); in build_library()
496 out_dir: &Path, in compile()
503 let mut out_path = out_dir.join(p.file_name().unwrap()); in compile()
518 fn obj_path(out_dir: &Path, src: &Path, obj_ext: &str) -> PathBuf { in obj_path()
519 let mut out_path = out_dir.join(src.file_name().unwrap()); in obj_path()
529 out_dir: &Path, in cc()
617 out_dir.to_str().expect("Invalid path") in cc()
669 out_dir: &Path, in perlasm_src_dsts()
678 .map(|src| (src.clone(), asm_path(out_dir, src, os, perlasm_format))) in perlasm_src_dsts()
691 asm_path(out_dir, &synthesized_path, os, perlasm_format), in perlasm_src_dsts()
713 fn asm_path(out_dir: &Path, src: &Path, os: Option<&str>, perlasm_format: &str) -> PathBuf { in asm_path()
719 out_dir.join(dst_filename) in asm_path()