Make rustc_info a hidden file
authorAleksey Kladov <aleksey.kladov@gmail.com>
Mon, 16 Apr 2018 15:52:35 +0000 (18:52 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Mon, 16 Apr 2018 15:52:35 +0000 (18:52 +0300)
src/cargo/ops/cargo_compile.rs

index 485f2b46af0f0d4dd49bbf1c1839a0957527fed1..fbf6acb3024cf8b5bf5d0e9d0025e8a245ccf153 100644 (file)
@@ -260,7 +260,7 @@ pub fn compile_ws<'a>(
         bail!("jobs must be at least 1")
     }
 
-    let rustc_info_cache = ws.target_dir().join("rustc_info.json").into_path_unlocked();
+    let rustc_info_cache = ws.target_dir().join(".rustc_info.json").into_path_unlocked();
     let mut build_config = BuildConfig::new(config, jobs, &target, Some(rustc_info_cache))?;
     build_config.release = release;
     build_config.test = mode == CompileMode::Test || mode == CompileMode::Bench;